Re: runModalForWindow() doesn't re-activate former window upon return
Re: runModalForWindow() doesn't re-activate former window upon return
- Subject: Re: runModalForWindow() doesn't re-activate former window upon return
- From: Andreas Falkenhahn <email@hidden>
- Date: Fri, 26 Aug 2016 16:34:55 +0200
On 25.08.2016 at 22:36 Kyle Sluder wrote:
> -mainWindow and -keyWindow don’t return pointers to windows outside of
> your application. (How could they? Other applications have their own
> address spaces.) They either return pointers to windows in your app
> (which might be windows owned by the framework), or they return nil.
Oops, right, the window that they return after runModalForWindow() has
finished is the window which was passed to runModalForWindow().
--
Best regards,
Andreas Falkenhahn mailto:email@hidden
_______________________________________________
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