> On Mar 22, 2020, at 15:38, Rob Petrovec via Cocoa-dev 
> <cocoa-dev@lists.apple.com> wrote:
> 
> I would not do this.  It is widely documented that AppKit API that produce 
> UI elements, like NSOpenPanel, are _not_ thread safe.

The code shown *is* threadsafe. It’s calling it on the main thread.

Steve via iPad


_______________________________________________

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