Re: how to add modal dialog once application begin to run
Re: how to add modal dialog once application begin to run
- Subject: Re: how to add modal dialog once application begin to run
- From: Scott Ribe <email@hidden>
- Date: Tue, 15 Jul 2008 08:04:45 -0600
- Thread-topic: how to add modal dialog once application begin to run
In the controller for the main window, I'd put an awakeFromNib: method that
uses NSApplication's
beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo: method
to display it as a sheet. Although if it's as simple as you described, I'd
skip the nib & controller for the modal dialog, and just use NSAlert.
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
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