Re: NSWindowController opens once
Re: NSWindowController opens once
- Subject: Re: NSWindowController opens once
- From: "Aaron Vegh" <email@hidden>
- Date: Sun, 16 Dec 2007 15:28:27 -0500
> It seems that you have a "theWindow" instance variable in your window
> controller subclass? That shouldn't be necessary, as
> NSWindowController already has such an instance variable. Note that
> you need to hook this outlet up in IB though!
... and that was what I was missing. I connected the window instance
to the File's Owner in my window controller's nib, and removed the
"theWindow" var. Took care of both problems!
That's the thing with Cocoa, isn't it? Sometimes you want to overthink
and overdo behaviour in an application, but the framework's got your
back. I dig it.
Cheers!
Aaron.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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