Re: [Pyobjc-dev] Customizing trouble with NSCell & NSTableView
Brought to you by:
ronaldoussoren
From: <bb...@ma...> - 2003-05-20 17:07:32
|
"Informal protocols" are effectively the set of all categories defined in the Framework headers where the category defines a set of methods that are typically used for delegation, notification, data sources, and other purposes where it is likely that the method is not actually implemented on your class's superclass (and, therefore, the signature will not be automatically found). One very attractive advantage to PyObjC's implementation is that it can actually tell if a required method from an informal protocol has been implemented and will automatically warn the developer if not. The set of informal protocols defined in Foundation.__init__ should be complete. The set of informal protocols in AppKit is likely incomplete. At least, I don't think it had the complete review that Foundation did. The following will give a [complete??] set of the various APIs that should likely end up as a part of an informal protocol declaration. cd /System/Library/Frameworks/AppKit.framework/Headers/ grep '@interface NSObject' *.h b.bum |