Created
March 4, 2016 13:34
-
-
Save sgr-ksmt/887b50d0643cf6e53e91 to your computer and use it in GitHub Desktop.
CGRectZeroと書くべきか、CGRect.zeroと書くべきか、省略して.zeroと書くべきか... #CodePiece
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let view = UIView(frame: CGRectZero) | |
// ↓ | |
let view = UIView(frame: CGRect.zero) | |
// ↓ | |
let view = UIView(frame: .zero) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment