Re: Launching an About box.
Re: Launching an About box.
- Subject: Re: Launching an About box.
- From: John Stiles <email@hidden>
- Date: Tue, 19 Dec 2006 11:55:03 -0800
Your app controller can have an outlet that points to the NSWindow
object.
On Dec 19, 2006, at 11:50 AM, Sam Colombo wrote:
I'm about half way through the Hillegass book and have so far
worked all
the "challanges" except one. I have been unable to do what I'm
sure is a
simple task of launching a custom "About" screen from a Nib. I have
successfully loaded the Nib using the NSBundle methods and have
redirected
the "About" menu to my AppController. However, I have yet to be
able to
display it. The "challenge" (p 181) mentions sending
"makeKeyAndOrderFront" to the window.
I believe the point is to pop the window directly (from my
AppController) without using a window controller. This seems
reasonable
because no connections are required. The user can then just close the
window. So far, I don't see how to instantiate the window and get a
reference to it. The window controller normally does this. I also
haven't
found any examples that do this. What am I missing?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
40blizzard.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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