NSWindowController subclass as nib file owner issues
NSWindowController subclass as nib file owner issues
- Subject: NSWindowController subclass as nib file owner issues
- From: Edwin Vane <email@hidden>
- Date: Sat, 30 Jul 2005 00:28:32 -0400
- Mail-followup-to: Cocoa-Dev <email@hidden>
Hi,
I have a subclass of NSWindowController being the file owner for a nib
containing a window I want managed. The first thing I've noticed is that
any outlets I add to NSWindowController aren't initialized by the
-initWithWindowNibName method (even though I've connected the outlets to
the file owner in interface builder). Outlets aren't initialized until I
try to do a:
[self window];
which loads the window. What does initWithWindowNibName actuall do? The docs
lead me to believe it loads the nib file and causes all the unarchiving stuff to
happen. What would be the purpose of loading the nib file but not
actually unarchiving the contents (which seems to be happening here)?
Any insight would be appreciated. I'm just curious.
--
Edwin Vane
MMath Candidate
Computer Graphics Lab
School of Computer Science
University of Waterloo
_______________________________________________
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