Re: Modal window that does not block the main runloop
Re: Modal window that does not block the main runloop
- Subject: Re: Modal window that does not block the main runloop
- From: Jens Alfke <email@hidden>
- Date: Fri, 7 May 2010 12:26:45 -0700
On May 7, 2010, at 10:28 AM, David Alter wrote:
> I need to bring a window up that is modal for the application (i.e. you can
> not make other windows active, and you can not use menus while this window
> is up). However after bringing the modal window up I want control returned
> to the main runloop, not a modal runloop.
You want -beginModalSessionForWindow:.
Tip: opening framework headers and searching for keywords is a great way to find APIs you’re looking for.
—Jens_______________________________________________
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