Re: NSArrayController/Modal dialog/KVO Gordian knot
Re: NSArrayController/Modal dialog/KVO Gordian knot
- Subject: Re: NSArrayController/Modal dialog/KVO Gordian knot
- From: "email@hidden" <email@hidden>
- Date: Sat, 12 Jun 2010 11:49:07 +0100
On 12 Jun 2010, at 11:45, vincent wrote:
> Le 12 juin 2010 à 12:28, email@hidden a écrit :
>
>> Modal windows fulfil a very specific purpose and manipulate the runloop accordingly.
>
> It seems some events are postponed (like timer or notifications) and some are not affected (the object, despite the postponed creation, is nevertheless created).
>
>> Are you certain that you require application modality for this functionality?
>
> This dialog is shown at the start of the application (before the main window appears), that cannot be run unless the data asked for is somehow given. So the applicationController brings up that dialog, and waits until it returns to set up the whole context and display the main window.
>
> But maybe there is a way, as you suggest, to set up a different course.
>
It's easy then.
Make the app controller load your configuration window at launch as a normal window.
When it closes you show the app window.
An alternative would be to show the app window with the configuration displayed as a sheet over it.
Regards
Jonathan Mitchell
Developer
Mugginsoft LLP
http://www.mugginsoft.com
_______________________________________________
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