Re: Boggled By Bindings
Re: Boggled By Bindings
- Subject: Re: Boggled By Bindings
- From: Steven Kramer <email@hidden>
- Date: Mon, 4 Oct 2004 17:09:31 +0200
Op 4-okt-04 om 13:56 heeft Patrick Machielse het volgende geschreven:
I have two questions left regarding the NSArrayController
(1)
Why is is that automaticallyNotifiesObserversForKey:@"arrangedObjects"
returns NO, but I can still successfully bind to 'arrangedObjects'?
Because the array controller performs manual notification would be my
guess.
(2)
Why does
+ (void)initialize
{
[[self class] setKeys:[NSArray arrayWithObject:@"arrangedObjects"]
triggerChangeNotificationsForDependentKey:@"myKey"];
}
not work, _even_ when I override
+ (BOOL)automaticallyNotifiesObserversForKey:(NSString *)key;
to return YES for 'arrangedObjects'?
Can any of you bindings-experts clarify this, or should I file a bug
report?
I admit to a lack of bindings expertice ;-) I ran into the same problem
and ended up setting up an observer in my subclass, as was suggested by
someone else in this thread too, IIRC.
Steven
_______________________________________________
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