Objective-c modern runtime using both properties and ivars in interface block
问题 I've seen code examples (from the book Beginning iPhone 4 Development) where they both declare ivars inside the interface block and then declare properties for the same. Like this: @interface ViewController : UIViewController { UITableView *table; } @property (nonatomic, retain) IBOutlet UITableView *table; What would be the purpose/benefit of this? As I understand that with the modern runtime version (iPhone and 64-bit OS X applications) you only need to declare properties and can leave out