Re: Creating an NSWindow with utility style in Xcode storyboard?
Re: Creating an NSWindow with utility style in Xcode storyboard?
- Subject: Re: Creating an NSWindow with utility style in Xcode storyboard?
- From: Quincey Morris <email@hidden>
- Date: Mon, 07 Nov 2016 19:40:16 -0800
- Feedback-id: 167118m:167118agrif8a:167118sdVL9WcCp3:SMTPCORP
On Nov 7, 2016, at 18:28 , Rick Mann <email@hidden> wrote:
>
> Is there no way to make a floating inspector window in a Storyboard in Xcode 8?
What’s preventing you from dragging out a window controller onto the storyboard?
However, I would be inclined to put it in its own storyboard, since there’s not much benefit to cluttering up your main (or whatever) storyboard with what is essentially an unconnected piece of UI. In addition, we recently had a long thread about NSPanel-style windows in storyboards, and there’s some oddity is using a segue to *show* a singleton panel**. It may actually be easier to use a XIB for an inspector panel.
** I don’t remember the details, but I think it might have been that you should not *close* a singleton panel, because you’ll get a new panel the next time it’s shown via a “show” segue. Instead, you have to short-circuit the regular close mechanism and do a simple orderOut instead. Something like that.
_______________________________________________
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