SyntaxFix
Write A Post
Hire A Developer
Questions
In Swift 3, you can simply use CGPoint.zero or CGRect.zero in place of CGRectZero or CGPointZero.
CGPoint.zero
CGRect.zero
CGRectZero
CGPointZero
However, in Swift 4, CGRect.zero and 'CGPoint.zero' will work
'CGPoint.zero'