• 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
Collections & KVO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Collections & KVO


  • Subject: Collections & KVO
  • From: Keary Suska <email@hidden>
  • Date: Fri, 07 Jul 2006 12:11:48 -0600
  • Thread-topic: Collections & KVO

Although I think I know the answer to this, I would like to be certain. When
working with collections (NSArray, NSDictionary, etc.), say you have a
collection ivar "collection" in an object "someObject", if an object
observes the collection object directly using:

[someObject addObserver:self forKeyPath:@"collection" options:opts
context:NULL];

If any changes are made *directly* to "collection" (i.e. Other than using
-setCollection:), is the observer notified?

Thanks,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: where have all the IVARS gone? (long time passing...)
  • Next by Date: bound NSTextfield won't update unless clicked on
  • Previous by thread: Re: Copying Core Data relationships
  • Next by thread: bound NSTextfield won't update unless clicked on
  • Index(es):
    • Date
    • Thread