Re: How to load a window
Re: How to load a window
- Subject: Re: How to load a window
- From: Charles Steinman <email@hidden>
- Date: Sun, 21 Sep 2008 14:06:25 -0700 (PDT)
--- On Sun, 9/21/08, Eric Lee <email@hidden> wrote:
> My question is simple (and probably basic from some of you
> experts :S). How do you load another window just by
> pressing a button?
>
> On CocoaDevCentral, they say to use NSBundle, but I read on
> the
> documentation that you can also use NSWindowController?
Both statements are correct. I think NSWindowController is more often used for loading windows, but both classes are capable of loading bundles with windows in them.
Cheers,
Chuck
_______________________________________________
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