KVO: subclasses registering keys fror same dependent key
KVO: subclasses registering keys fror same dependent key
- Subject: KVO: subclasses registering keys fror same dependent key
- From: Gerd Knops <email@hidden>
- Date: Sun, 19 Mar 2006 15:19:05 -0600
Apparently (but not really surprisingly)
+ (void)setKeys:(NSArray *)keys
triggerChangeNotificationsForDependentKey:(NSString *)dependentKey
does the wrong thing if a class and it's subclass use it on the same
dependent key. Instead of merging the lists, the keys set by the
subclass win and the ones set in the superclass are lost.
Is there any way to access the keys defined in the superclass and ADD
to them rather than REPLACE them?
Gerd
_______________________________________________
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