Re: [Pyobjc-dev] NibLoader.py: parsing nibs at runtime
Brought to you by:
ronaldoussoren
From: Jack J. <Jac...@or...> - 2002-11-15 23:27:57
|
On vrijdag, nov 15, 2002, at 11:39 Europe/Amsterdam, Ronald Oussoren wrote: > We could of course use a variant of mknibwrapper to generate > userfriendly documentation instead of a python file. Not only documentation but also a skeleton implementation, similar to the "generate .c/.h" from Interface Builder. And while we're at it: it would be a killer feature if NibLoader could optionally use Python's introspection features to check that your subclass actually implements all needed methods and such, so that if you set NibLoader.DEBUG to true (or have that set automatically if the environment variable PY_NIBLOADER_DEBUG is set) your classes are checked for conforming to what the nib expects. Of course we can't go any further than method names and number of arguments, but it would still be a great tool. -- - Jack Jansen <Jac...@or...> http://www.cwi.nl/~jack - - If I can't dance I don't want to be part of your revolution -- Emma Goldman - |