xcodestatementssynthesize

How can automatic synthesize statements be applied? Is it better/worse to have them over synthesize statements?


I learned how @synthesize statements work but I run the latest version of xcode(not xcode 6 beta) and as Im learning objective-C, I found out that synthesize statements could be done automatically.


Solution

  • Automatic property synthesis was added in Xcode 4.4. You can omit the @synthesize in almost all cases.