Re: Cocoa binding problem/bug - setKeys not inherited?
Re: Cocoa binding problem/bug - setKeys not inherited?
- Subject: Re: Cocoa binding problem/bug - setKeys not inherited?
- From: mmalcolm crawford <email@hidden>
- Date: Thu, 3 Jun 2004 20:33:36 -0700
On Jun 3, 2004, at 6:09 PM, Brett Powley wrote:
I did try to use [self class] rather than the class name in the
superclass to see if that made a difference:
You're sending the class message to a class object -- you'll get back
the class 'Class'.
If, as the example in the documentation suggests
<
http://developer.apple.com/documentation/Cocoa/Conceptual/
KeyValueObserving/Concepts/DependentKeys.html>, you use
[self setKeys:
[NSArray arrayWithObjects:@"termIndexLevel1", nil]
triggerChangeNotificationsForDependentKey:@"termsAtLevel2"];
you should find that it works correctly...
mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.