Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: will/didChangeValueForKey: Real World Usage




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.