On Jan 29, 2015, at 16:26 , Graham Cox <graham....@bigpond.com> wrote:
> 
> 'atomic' attribute on property 'action' does not match the property inherited 
> from 'NSControl'

The 10.10 SDK uses real @property declarations, but doesn’t specify atomicity, 
which means the property defaults to atomic. You said before that "the 
properties have to be nonatomic”. So you’re declaring them nonatomic? You can’t.

Note that it makes no difference. On all existing Apple architectures, “atomic” 
properties of 8-byte quantities (or smaller) (including pointers) have no 
overhead, so atomic properties synthesize the same code as nonatomic 
properties. (Well, that’s what I recall Greg Parker saying, a few months ago.)



_______________________________________________

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