I have a sample git project here: https://github.com/ericgorr/nspanel_show

I am working on a swift, core data, and storyboard application.

If it matters, I am using the latest official version of Xcode and OS X.

I can easily show the nspanel by creating a button a called “Show Panel Segue” 
and creating a Show Segue between the button and the Panel Scene. However, I 
get a new panel window every time I press the button. Is there a way to limit 
it to just a single instance? Is using a segue to show the panel the best 
method? If not, what is recommended?

For a storyboard application, what then is the recommended way to hide the 
inspector nspanel?




_______________________________________________

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