Do I need to include @synthesize?

objective-c, synthesize

Solution

In a word, no. Xcode 4.5 is fully aware of the fact that `@synthesize` is no longer required. You're good to go without!

Problem

I created a `@property` by right-clicking and dragging from `ViewController.xib` into `ViewController.h`, but `@synthesize` is not being automatically created in `ViewController.m`. This post said that `@synthesize` is no longer necessary, but I'm wondering if auto-complete needs `@synthesize` for it to work correctly. Q: Do I need to include `@synthesize`?

Original source

Related problems