Best method for showing & hiding an inspector nspanel
Best method for showing & hiding an inspector nspanel
- Subject: Best method for showing & hiding an inspector nspanel
- From: "email@hidden" <email@hidden>
- Date: Sun, 11 Sep 2016 18:33:54 -0400
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 (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