Automatically @synthesized properties in Xcode 4.4

From the release notes for Xcode 4.4:

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

What does the new synthesizer look like by default? Does it create a variable with the same name as the property (or does it prefix it with an underscore, which seems to be good practice, but requires additional printing)?

+29
objective-c
Jul 26 '12 at 9:12
source share
1 answer

the default is @synthesize propertyName = _propertyName

+55
Jul 26 '12 at 9:16
source share



All Articles