• 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
Key-Value Observing: light-weight or heavy-weight?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Key-Value Observing: light-weight or heavy-weight?
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: NSXMLParser frees itself on error?
  • Next by Date: Re: Strategy for acting on changes in child objects?
  • Previous by thread: Re: Calling a super call method from and instance
  • Next by thread: Re: Key-Value Observing: light-weight or heavy-weight?
  • Index(es):
    • Date
    • Thread