Key-Value Observing: light-weight or heavy-weight?
Key-Value Observing: light-weight or heavy-weight?
- Subject: Key-Value Observing: light-weight or heavy-weight?
- From: Stuart Malin <email@hidden>
- Date: Thu, 7 May 2009 14:29:19 -1000
I've got a situation where I have several hundred objects of a class
that have a KVC-compliant property. There are a matching set of other
objects that refer to the former. For a problem I need to solve, one
solution is for the other objects to observe the property of their
counterpart object. That is: object's of class B would observe some
property of objects of class A. While I know that this is just the
sort of thing that KVO supports, I am wondering if establish hundreds
of these observer relationships is a heavy-weight solution, or is each
individual observer reasonably light-weight, and this a viable way to
go. TIA.
_______________________________________________
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