CGRectMake, CGPointMake, CGSizeMake, CGRectZero, CGPointZero is unavailable in Swift
<p>After converting code to latest swift 3.0 I am shown this error.</p>

<p><a href="https://i.stack.imgur.com/yvqDR.png"><img src="https://i.stack.imgur.com/yvqDR.png" alt="enter image description here"></a><a href="https://i.stack.imgur.com/IsyeI.png"><img src="https://i.stack.imgur.com/IsyeI.png" alt="enter image description here"></a></p>

<p>Also tell me solution for <code>CGSize = CGSizeMake(0,0)</code> </p>

<pre><code>static var frameAtStartOfPan: CGRect = CGRectZero
static var startPointOfPan: CGPoint = CGPointZero
</code></pre>

<p>Which is also unavailable.</p>