Re: Overriding property attributes
Re: Overriding property attributes
- Subject: Re: Overriding property attributes
- From: Jens Alfke <email@hidden>
- Date: Thu, 03 Dec 2015 14:57:40 -0800
AFAIK, ‘nonatomic’ is nothing more than a hint to the property synthesizer that it can create getter/setter methods that are faster but not thread-safe. That is, it only has effect inside the @implementation of the class, and no effect on callers.
So it seems weird that you get a warning at all.
Do you actually need to declare `description` at all in your code generator? It’s already inherited from NSObject, so there’s no point in repeating it in a subclass interface...
—Jens
_______________________________________________
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