Re: Having trouble just displaying a window
Re: Having trouble just displaying a window
- Subject: Re: Having trouble just displaying a window
- From: Rick Mann <email@hidden>
- Date: Thu, 15 Nov 2007 10:04:43 -0800
On Nov 15, 2007, at 8:52 AM, Gordon Apple wrote:
This is the same issue I posted about a couple of weeks ago. Like
myself, he just followed what was in the Sketch sample code and
found out it
didn't work when using a .xib instead of a the original .nib with the
earlier IB. Something gets lost in the translation. Using the window
controller for the file's owner instead of the Application fixes
it. That's
also why the newer Sketch .xib includes an explicit controller
object solely
for the purpose of getting a direct connection to the Application.
Oh, I guess I should clarify. The File's Owner had already been set to
NSWindowController. What I had failed to do was to set it's window
outlet to point to my window object in IB. That was my missing link
(literally).
--
Rick
_______________________________________________
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