Re: [Pyobjc-dev] NibLoader.py: parsing nibs at runtime
Brought to you by:
ronaldoussoren
From: Jack J. <Jac...@or...> - 2002-11-17 00:18:47
|
On zaterdag, nov 16, 2002, at 23:45 Europe/Amsterdam, Just van Rossum wrote: > Do you have any thoughts about > > from AppKit.NibClassBuilder import NibClassBuilder > class PyModel(NSTableSource): > __metaclass__ = NibClassBuilder > ... > > vs. > > from AppKit.NibClassBuilder import AutoBaseClass > class PyModel(AutoBaseClass, NSTableSource): > ... > > ? Today I'm leaning towards the latter ;-) So am I, I think the "Auto" in AutoBaseClass is a good enough indication that there's magic happening. What I do wonder, though, is whether this should be in AppKit. Shouldn't we try to keep AppKit clean, so the Apple documentation completely describes it, and put our own PyObjC-specific stuff elsewhere? There isn't a good place right now, I think, but now might be a good time to add one ("PyObjC" comes to mind as a name). Or does the objc package fit this bill? -- - 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 - |