• 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: will/didChangeValueForKey: Real World Usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: will/didChangeValueForKey: Real World Usage


  • Subject: Re: will/didChangeValueForKey: Real World Usage
  • From: Benjamin Stiglitz <email@hidden>
  • Date: Tue, 23 Oct 2007 11:29:15 -0700

Well, not really. mmalc's GraphicsBindings has a JoystickView which seems to maintain KVO by using a setValue:forKeyPath: as the last step in processing a mouse click. But it's trivial because the value being observed is only a single value, not an array, and not generated on the fly.

For anyone looking further into this sort of app, there’s also AXCanvas in /Developer/Examples/Accessibility. It’s a fairly good showcase for what you can do with KVO, especially in the undo management department.


-Ben_______________________________________________

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: 
 >will/didChangeValueForKey: Real World Usage (From: Jerry Krinock <email@hidden>)
 >Re: will/didChangeValueForKey: Real World Usage (From: "I. Savant" <email@hidden>)
 >Re: will/didChangeValueForKey: Real World Usage (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: autorelease pool
  • Next by Date: Re: autorelease pool
  • Previous by thread: Re: will/didChangeValueForKey: Real World Usage
  • Next by thread: Re: will/didChangeValueForKey: Real World Usage
  • Index(es):
    • Date
    • Thread