There are two new memory management attributes for properties introduced by ARC, strong
and weak
.
Apart from copy
, which is ob
Example: @property (strong, nonatomic) ViewController *viewController;
@synthesize viewController;
By Default automatically get and set to nil
Example : @property (weak, nonatomic) IBOutlet UIButton *myButton;
@synthesize myButton;