Created
April 21, 2014 22:27
-
-
Save klaaspieter/11158724 to your computer and use it in GitHub Desktop.
Struct initialization (http://en.wikipedia.org/wiki/Struct_(C_programming_language)#Struct_initialization)
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
CGRect rect = {{.x = 0.0, .y = 0.0}, {.width = 0.0, .height = 0.0}}; | |
CGRect rect = {0.0, 0.0, 0.0, 0.0} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
is this better than cgrectmake()