• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Easier way to make NSView subclasses refresh on a property change?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Easier way to make NSView subclasses refresh on a property change? (From: Graham Cox <email@hidden>)

  • Prev by Date: Easier way to make NSView subclasses refresh on a property change?
  • Next by Date: Re: UIViews in SpriteKit Apps
  • Previous by thread: Easier way to make NSView subclasses refresh on a property change?
  • Next by thread: Re: Easier way to make NSView subclasses refresh on a property change?
  • Index(es):
    • Date
    • Thread