KVO and arrays
KVO and arrays
- Subject: KVO and arrays
- From: kelvSYC <email@hidden>
- Date: Sun, 02 Jan 2005 22:48:31 -0700
Suppose I have manual notification of a to-many key foo in my class
(ie. it uses indexed accessors). I have a method -bar that radically
alters foo ("elements" may be added, removed, or changed
programatically). I'm confused whether I should call (in -bar)
-will/didChangeValueForKey or willChange:valuesAtIndexes:forKey:, and
if the latter, what the first parameter should be.
_______________________________________________
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