Re: Saving IB's NIB file window size and location
Re: Saving IB's NIB file window size and location
- Subject: Re: Saving IB's NIB file window size and location
- From: Sean Murphy <email@hidden>
- Date: Wed, 24 Jan 2007 21:37:16 -0500
On Jan 24, 2007, at 1:23 PM, Dave Dribin wrote:
I've gone through Interface Builder's docs, and I can't seem to
find the answer. If you have a NIB file window with lots of
controllers instantiated, it's hard to see them all with the
default window size. If I resize the NIB file window so they all
can be seen, sometimes the new window size gets saved, and
sometimes it doesn't. It reverts back to the small size the next
time the NIB is opened in IB. Am I missing some magic key sequence
that tells IB to save the NIB file window's size and location?
Hey Dave,
This probably isn't a huge help, but Interface Builder does store
this information inside each .NIB bundle, specifically the info.nib
file. The info.nib file is actually a standard xml property list
containing one dictionary and is editable in any text editor. The
key you'd be interested in is:
<key>IBDocumentLocation</key>
<string>83 20 462 260 0 0 1024 746 </string>
The <string> is a usual saved NSWindow frame.
Knowing where IB stores this information doesn't really solve the
issue though, and I'm also unsure about how to trigger IB into
writing unsaved changes about the document window into it. I agree
it would be nice to know!
Hopefully the revamped Interface Builder released with Leopard will
have this behavior taken care of more reliably.
Anyway, good luck.
-Sean
By the way: Nice blog post about Objective-C Delegate Optimization -
it was a good read.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden