nonatomic vs atomic assign/retain
nonatomic vs atomic assign/retain
- Subject: nonatomic vs atomic assign/retain
- From: Torsten Curdt <email@hidden>
- Date: Tue, 06 Sep 2011 17:30:51 +0200
On iOS properties are usually (unless required otherwise) defined as nonatomic
@property (nonatomic, assign)
On the Mac I have seen quite often just an "assign" or "retain" which
AFAIK defaults to "atomic"
@property (assign)
So what should one use e.g. for normal IBOutlets with AppKit?
I would think "nonatomic" should be good enough on Mac, too. No?
cheers,
Torsten
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden