Reputation: 778
Are @property(nonatomic)ivar and @property(nonatomic,assign)ivar the same or different?
@property(nonatomic)ivar
@property(nonatomic,assign)ivar
Upvotes: 2
Views: 571
Reputation: 15228
As stated in the docs:
assign - Specifies that the setter uses simple assignment. This attribute is the default.
So no, as far as I know they are the same.
Upvotes: 3
Reputation: 3612
Objective-C 101 (retain vs assign) NSString
Upvotes: 0