Reputation: 2510
I am working on an app and have to support for iOS5
and iOS6
. We don't need to write @synthesize
in iOS6
. I am writing @synthesize
for iOS5
. But read that writing @synthesize
increases compile time.
Is there any alternative for this? If remove it, what does it will affect. What if I submit to iTunes without writing @synthesize
?
Upvotes: 1
Views: 64
Reputation: 3311
With Xcode 4.4 and LLVM Compiler 4.0 the @synthesize directive is no longer required as it will be provided by default. That means in most cases you now only need the @property and the compiler takes care of everything else for you.
@synthesize is not related with iOS version, is a new feather of Xcode and LLVM Compiler.
Upvotes: 2