• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Best method for showing & hiding an inspector nspanel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: referencing a Swift Dictionary from Objective-C
  • Next by Date: How to do isKindOfClass in Swift
  • Previous by thread: Re: referencing a Swift Dictionary from Objective-C
  • Next by thread: How to do isKindOfClass in Swift
  • Index(es):
    • Date
    • Thread