• 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
Re: Question about model observers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about model observers


  • Subject: Re: Question about model observers
  • From: Ken Thomases <email@hidden>
  • Date: Tue, 11 May 2010 20:48:19 -0500

On May 11, 2010, at 10:17 AM, Keary Suska wrote:

> There have been some lengthy discussions about this. An object may choose to emit KVO notifications for its collection properties (but this behavior should never be expected unless it is specifically documented), but no collection will ever emit a KVO notification that its contents have changed (unless, of course, you subclass and add this behavior).

Depends on whether you consider a dictionary a collection or not.  NSMutableDictionary does emit KVO notifications when its contents change.

I suspect you were thinking of sets and arrays, in which case you're correct.

Cheers,
Ken

_______________________________________________

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: Question about model observers
      • From: Keary Suska <email@hidden>
References: 
 >Question about model observers (From: Eric Giguere <email@hidden>)
 >Re: Question about model observers (From: Keary Suska <email@hidden>)
 >Re: Question about model observers (From: Eric Giguere <email@hidden>)
 >Re: Question about model observers (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: Handling bindings of an NSControl which forward everything to an NSCell?
  • Next by Date: Core Data NSExpression Error
  • Previous by thread: Re: Question about model observers
  • Next by thread: Re: Question about model observers
  • Index(es):
    • Date
    • Thread