NSArrayController subclass
NSArrayController subclass
- Subject: NSArrayController subclass
- From: Bertrand Landry Hetu <email@hidden>
- Date: Mon, 20 Sep 2004 22:35:34 -0700
Hi,
I'm trying to do a subclass of NSArrayController that would add
accessors similar to canAdd, canRemove. And I'm running in the
following issue: I'm not getting changes as the selection changes.
I added [self setKeys: [NSArray arrayWithObject: @"selectionIndexes"
triggerChangeNotificationsForDependentKey: @"canDoSomething"] to my
+(void)initialize and I expected it to work but no.
Does that mean that triggerChangeNotificationsForDependentKey can only
be used for local values ? And is there anything else I can do (other
than overriding setSelection* )
Thank you!
Bertrand.
_______________________________________________
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