On 06 Apr 2014, at 8:44 pm, Graham Cox <graham....@bigpond.com> wrote:

> I thought about mentioning it, but figured it might already sound a bit 
> complicated. Isn't 'nonatomic' the default? If not, I can't actually find the 
> documentation about it. Also, if 'atomic' is the default, won't performance 
> suffer with all those unnecessary locks?

It is for these two reasons that, from years of conditioning, I can watch my 
fingers type "(nonatomic " automatically and as if my magic as soon as I finish 
typing "@property " ...

The atomic vs. nonatomic default is a peculiarity of Obj-C that never seemed to 
be well documented or explained when properties were first introduced.

b

--
Ben Kennedy, chief magician
Zygoat Creative Technical Services
http://www.zygoat.ca


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to