• 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: mmalc crawford <email@hidden>
  • Date: Mon, 22 Oct 2007 19:29:21 -0700


On Oct 22, 2007, at 2:46 PM, Jerry Krinock wrote:

I would suggest googling "mmalc bindings" - he's maintained a rather
useful list of examples, I believe two of which demonstrate wiring up
custom views. Perhaps spending time studying those will fit some
pieces together for you.

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.


Umm, and the not-so-trivial GraphicsView which observes an array of Graphic objects...?

mmalc

_______________________________________________

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


  • Follow-Ups:
    • Re: will/didChangeValueForKey: Real World Usage
      • From: Jerry Krinock <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: detecting when an app is beach-balling
  • Next by Date: Re: will/didChangeValueForKey: Real World Usage
  • Previous by thread: Re: will/didChangeValueForKey: Real World Usage
  • Next by thread: Re: will/didChangeValueForKey: Real World Usage
  • Index(es):
    • Date
    • Thread