Re: Easier way to make NSView subclasses refresh on a property change?
Re: Easier way to make NSView subclasses refresh on a property change?
- Subject: Re: Easier way to make NSView subclasses refresh on a property change?
- From: Graham Cox <email@hidden>
- Date: Wed, 03 Feb 2016 17:11:13 +1100
> On 3 Feb 2016, at 5:05 PM, Graham Cox <email@hidden> wrote:
>
> Is there a good way to automate this for a given set of properties?
BTW, it would be really great if this were an extension of property attributes, e.g:
@property (nonatomic, assign, refresh) BOOL goesWild;
Then the compiler’s synthesis mechanism coould just add the appropriate call for views or layers as it finds. For other classes, this flags a warning.
Good idea?
—Graham
_______________________________________________
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