Re: [Pyobjc-dev] NIB Validation & action methods
Brought to you by:
ronaldoussoren
From: <bb...@ma...> - 2002-11-18 16:16:29
|
On Sunday, November 17, 2002, at 02:06 AM, Ronald Oussoren wrote: > In Python you can also add new methods to a class. I'd not worry to > much about this, if only because it will be less efficient to call > those additional methods from Objective-C: The additional methods are > called through an NSInvocation while the normal methods are called > through more efficient method stubs. Efficiency of dispatch in this context is largely irrelevant as it generally happens as a part of the user clicking a button or hitting a menu item -- i.e. once to trigger the event processing. Given that action method validation already exists within the AppKit framework and it works at the only time where complete/correct validation is possible, why should we bother duplicating that functionality in the PyObjC module and doing so in a fashion that is going to generate false warnings? b.bum |