[Pyobjc-dev] interface builder queries
Brought to you by:
ronaldoussoren
From: Michael H. <mw...@py...> - 2003-08-26 16:19:33
|
[this can hardly be the best place to ask this question...] My learn-PyObjC project -- a resource editor for EV Nova -- is going quite nicely, but I have a question or two: 1) I'm going to have a lot (20? 30?) of NIBs and each one will likely have it's own controller class (this seems to be the standard approach) and it would be convenient to have most of these inherit from a custom class. I don't see how to teach IB about this one custom class that is shared between all the NIB files in the project. I suppose I could just add the functionality I want to NSWindowController... 2) How hard is it to generate/manipulate NIBs programmatically? They're mostly NSArchivered lumps of data, right? The point behind this question is that I have a description of various data formats and it might save time to generate a really clunky interface from this description, and then turn it into a less clunky interface by monkeying about in IB (but not have to sort *all* those connections out by hand). In general, the more I play with PyObjC, the more impressed I get. Nice work! Cheers, mwh -- It is never worth a first class man's time to express a majority opinion. By definition, there are plenty of others to do that. -- G. H. Hardy |