On Jan 10, 2013, at 13:45 , Nico Weber <[email protected]> wrote: > On Thu, Jan 10, 2013 at 1:43 PM, Jordan Rose <[email protected]> wrote: > Looks like spaces are correct for @synthesize: > > https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/EncapsulatingData/EncapsulatingData.html#//apple_ref/doc/uid/TP40011210-CH5-SW6 > >> @implementation YourClass >> @synthesize propertyName = instanceVariableName; >> ... >> @end >> > > https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CodingGuidelines/Articles/NamingIvarsAndTypes.html > has > > @synthesize showsTitle=_showsTitle; > though :-)
Hm. Fair enough. I would still go with spaces in this case. (The first document has been updated more recently, and it seems to be the majority on developer.apple.com. Also I know the guy who wrote it.)
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
