News for hackers. Stuff that matters.
Re:Go for Objective-C developers by mergesort on Wednesday February 12, 2014 @04:40PM (#7227534)
As for (CGRect){0, 0, 320, 480}, it is indeed valid, but it's a lot nicer to have a consistent syntax instead of mixing C with Objective-C.
Re:Go for Objective-C developers by micampe on Wednesday February 12, 2014 @05:19PM (#7227759)
There is no mixing. Objective-C is a superset of C, therefore C syntax is part of the Objective-C language.
Re:Go for Objective-C developers by mergesort on Wednesday February 12, 2014 @05:35PM (#7227859)
Mixing in the sense that ABAddressBook is a C based API, with no Cocoa wrapper, like how CGRect is a struct, not an class.