Re: will/didChangeValueForKey: Real World Usage
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