Re: NSDocument not loading nib soon enough
Re: NSDocument not loading nib soon enough
- Subject: Re: NSDocument not loading nib soon enough
- From: m <email@hidden>
- Date: Thu, 22 Mar 2007 00:16:41 +0200
On Mar 21, 2007, at 10:38 PM, Alan Smith wrote:
The question is, how do I get the nib to load so I can use my
IBOutlets when loading a file?
You're wanting to swim upstream, methinks.
A more "Cocoa" way is to load your file's data into member variables
(aka "model") of your NSDocument then in your
windowControllerDidLoadNib: method set up your views to reflect the
contents of your model.
Check out:
<file:///Developer/ADC Reference Library/documentation/Cocoa/
Conceptual/Documents/Articles/ObjectInteractions.html#//apple_ref/doc/
uid/TP40003196>
_murat
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden