Re: Bindings clarification: +setKeys:triggerChangeNotificationsForDependentKey: doesn't affect subclasses?
Re: Bindings clarification: +setKeys:triggerChangeNotificationsForDependentKey: doesn't affect subclasses?
- Subject: Re: Bindings clarification: +setKeys:triggerChangeNotificationsForDependentKey: doesn't affect subclasses?
- From: SA Dev <email@hidden>
- Date: Thu, 28 Jul 2005 17:01:56 -0400
As Jim pointed out off-list, the docs state that subclasses
specifically should *not* call super's +initialize. This is indeed
strange. So does this mean that subclasses of NSObject shouldn't call
super or *any* subclasses shouldn't call super? If the former, then
any good documentation on someone's class should say whether or not
super +initialize should be called which implies it's up to you to
read it. If that's the case, then a disambiguation should be posted
in the docs.
This one now has me stumped too (I haven't run into it myself and
many of my classes register dependent keys). Thanks for the puzzle,
Jim! :-)
On Jul 28, 2005, at 4:37 PM, SA Dev wrote:
Ah - I do apologize, I see exactly what you're saying. You have
*my* vote for filing an enhancement request. Many other methods
specifically say subclasses must call super.
_______________________________________________
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