On May 22, 2014, at 12:24 PM, Jens Alfke <j...@mooseyard.com> wrote:
> > On May 22, 2014, at 8:54 AM, edward taffel <etaf...@me.com> wrote: > >> i find no mention of thread safety in the NSOpenPanel doc, but the doc >> mentions ‘Open panels are drawn in a separate process by the powerbox’: >> perhaps this is the reason. > > That’s done because the Open panel itself can’t be bound by the limitations > of a sandboxed process. It doesn’t necessarily mean that the NSOpenPanel code > in your process is thread-safe, though, so unless you’re told that it can be > used on a background thread I wouldn’t do it. Even if it works today, you > might find it crashes in two weeks when you try it on the (hypothetical) beta > of 10.10. > > —Jens based on your first advice, i had already resolved to show the NSOpenPanel on the main thread, as well. thanks again! _______________________________________________ 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