Re: [Pyobjc-dev] Formal protocol and extra methods
Brought to you by:
ronaldoussoren
|
From: Johan R. <joh...@gm...> - 2009-04-24 10:14:32
|
I changed my framework so that it uses informal protocols instead. Do I have to create informal protocol specifications for PyObjC, like these? http://svn.red-bean.com/pyobjc/branches/pyobjc-1.4-branch/Lib/Foundation/protocols.py On Thu, Apr 23, 2009 at 11:10 PM, Johan Rydberg <joh...@gm...> wrote: > I try to implement a format protocol in python. Everything works fine > as long as my class only > has methods that are defined by the protocol. When I extend my class > with something else, > I get an error: > > class MasterListScopeBar(MGScopeBarController): > objc.internal_error: PyObjCClass_BuildClass: Cannot fetch key in keylist > > For example, if I add a awakeFromNib method this happens. > > Why is this? > |