Re: Question about model observers
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