Re: How to create a modal dialog that blocks on start-up?
Re: How to create a modal dialog that blocks on start-up?
- Subject: Re: How to create a modal dialog that blocks on start-up?
- From: Kyle Sluder <email@hidden>
- Date: Fri, 6 Mar 2009 00:16:27 -0500
On Fri, Mar 6, 2009 at 12:01 AM, Graham Cox <email@hidden> wrote:
> The app might have been launched with a file or files, or just by
> double-clicking. So if the EULA needs to be displayed this should just defer
> opening the required documents. By stopping the untitled or other files from
> opening, they never do.
So what? Implement the appropriate methods in your NSApp delegate, or
perhaps a custom subclass of NSDocumentController, and have them stow
any arguments and keep reminding themselves using
-performSelector:withObject:afterDelay: until conditions change such
that the original message can be processed as normal.
--Kyle Sluder
_______________________________________________
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