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 <smi...@makemusic.com> wrote:

> On Aug 14, 2013, at 21:54:00, Alex Zavatone <z...@mac.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to