Re: Dismissing Open dlog before doc actually opens
Re: Dismissing Open dlog before doc actually opens
- Subject: Re: Dismissing Open dlog before doc actually opens
- From: Alex Zavatone <email@hidden>
- Date: Wed, 14 Aug 2013 14:55:53 -0400
With that in mind, any reason why you wouldn't wrap that in a block and dispatch to GCD?
Mind you, I only have marginal experience with blocks on iOS, so this is also a question as a suggestion.
Sent from my iPad
On Aug 14, 2013, at 11:10 AM, Steve Mills <email@hidden> wrote:
> On Aug 14, 2013, at 21:54:00, Alex Zavatone <email@hidden> wrote:
>
>> Wild guess, but by any chance are you blocking the thread or blocking the thread that the UI is drawn on?
>
> Yes. Refer back to the small sample I sent to illustrate that orderOut doesn't hide the window right away.
>
> The header comment for runModal says "It returns only after the user has closed the panel." The key word here is "closed", which makes it seem like the window should indeed close, not be marked for closure at some later time.
>
> --
> Steve Mills
> office: 952-818-3871
> home: 952-401-6255
> cell: 612-803-6157
>
>
>
_______________________________________________
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