Re: Programmatically create NIB file?
Re: Programmatically create NIB file?
- Subject: Re: Programmatically create NIB file?
- From: Bob Ippolito <email@hidden>
- Date: Sat, 29 Jan 2005 11:26:20 -0500
On Jan 29, 2005, at 10:05 AM, M. Uli Kusterer wrote:
Has any of you ever generated a NIB file programmatically?
I.e. I have lots of similar NIB files, and would like to write a
little app that dynamically lays out objects and saves them to a NIB
file.
NSNib only seems to be for loading and instantiating NIBs ... it may
be possible to NSArchive it, but I've found no way to turn a couple of
objects into an NSNib.
Similarly, nibtool only lets me view and localize a NIB, but I
haven't found how to take nibtool output and feed it back in to create
a new NIB. -w and -W appear to be for copying (and converting) NIBs,
but that's it.
Can this be AppleScripted? The dictionary for IB seems to define lots
of objects, but I wouldn't know where to start to create objects in IB
this way...
I've never created nib files from scratch programmatically, but the XML
format nibs are easy to modify and use in Xcode templates (we do this
in PyObjC).
You may want to look at GNUStep Renaissance
<http://www.gnustep.it/Renaissance/>. It's not nib, but it may be more
appropriate for your use case.
-bob
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden