Re: NSWindowControllers and NSWindow
Re: NSWindowControllers and NSWindow
- Subject: Re: NSWindowControllers and NSWindow
- From: Jens Alfke <email@hidden>
- Date: Mon, 16 Feb 2015 13:38:22 -0800
> On Feb 16, 2015, at 9:55 AM, Dave <email@hidden> wrote:
>
> I can see I could do it if I had LTWViewController.xib that included an NSWindow?
I’m surprised by how complicated the discussion is making this seem!
All you need to do is create an NSWindowController subclass in Xcode, check the “Also create XIB” box, and it’ll make you a .xib that has everything set up correctly. Next just start adding views to the .xib, and outlets/actions to the class, then wire them up.
—Jens
_______________________________________________
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