Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatically @synthesized properties in Xcode 4.4

From the Xcode 4.4 release notes:

The compiler automatically calls @synthesize by default for unimplemented @properties

What exactly does the new default synthesizer look like? Does it create a variable of the same name as the property (or does it prefix it with an underscore, which seems to be a good practice, but required extra typing so far)?

like image 671
Thilo Avatar asked Jul 26 '12 09:07

Thilo


1 Answers

the default is @synthesize propertyName = _propertyName

like image 124
wattson12 Avatar answered Nov 07 '22 09:11

wattson12