What made the difference
@property (strong, nonatomic) and @property (nonatomic, strong)
in ios.
i will define iboutlet for example uilabel like this
@property (strong, nonatomic) IBOutlet UILabel *label1;
and i see many time in this site
@property (nonatomic, strong) NSString* str;
What is the difference between the two property.
Tiago Almeida :
There are no differences in the logic. They represent the same thing but with different order.\n\nUsually in IBOutlets you have @property (weak, nonatomic) because it is auto generated when you ctrl+drag from interface builder.\n\nHowever, most people prefer the second form because the \"nonatomic\" is used in most of the cases in ios and therefore it is easily ignored. ",
2015-04-21T13:23:08