Detach XCode's Navigator into its own window? - objective-c

Right now, my average xcode window is just an editor window with the navigator on the left.
Is there any way I can detach the navigator into a separate window?
I've tried:
Making a new complete window, and hiding the editor. This doesn't work, when I try to drag the navigator to cover the entire window, it won't go all the way. It's strange that this works to create a debugger-only window, and not a navigator-only window.
Making a behavior in the preferences, to show the navigator and hide the editor. When I run this behavior, it shows the navigator and hides the editor, but puts the debugger in its place. When I add "hide the debugger" to the behavior, I get the same result: navigator plus debugger.
Eternal gratitude to whoever can end my suffering!
(xcode 4.6, mac 10.8)

No, there is no way to do this. The Xcode application's UI was not written to be able to do what you're asking for.

Related

IntelliJ Idea: how to dock the java-doc window

how can we dock the java-doc window to the IntelliJ IDE?
There is no Docked mode in the window-popup like explained in the IDE help
e.g. it should be like the Structure, Messages, Version Control tool Window.
Yes, there is something wrong with this window: by default it shows up in your face, preventing you from getting any work done, and it is not immediately obvious how to dismiss it. A programmer's first encounter with this window tends to be a rather bad user experience.
The way I dismiss it is as follows:
Click on the gray gear menu (the one at the top, not the blue one right below it)
Uncheck Floating mode. It will then obtain a "Docked Mode" option.
Move it to any side you like; it will then stay there.

Re-create Cocoa application menubar

I'm making a statusbar application and load a new xib containing the main window for the application when clicking on a statusbar menu item. However, in the process I deleted the application menu bar. I don't see a way to hook up the NSMenu object I created in the interface builder.
The window loads just fine, and the status bar icon is still present, but when I make the main window the key window, the application menu bar doesn't change, it just shows the previous app that was active.
I have followed the instructions/suggestions here and here, but neither of them work. Is there some other step I've missed?
Thanks!
The behavior you're describing is normal for background applications. If you don't have an icon in the Dock, you don't get your own menubar, even if you have a window in the foreground.

Graphics error with NSStatusItem

My application uses NSStatusItem to be visible to the user.
So I set 'Application is agent (UIElement)' to YES, which basically hides the menu bar of the application, and hides the icon from the dock.
Now, I didn't delete the menu bar, so I can still react to shortcuts like cmd+W to close the preference window, or cmd+q to quit the application. The problem is, that anytime I use such a command, the menubar get's messed up.
I've noticed that other Apps which run in the background, like Growl 2, have the same issue.
I have no idea how to fix this.
Hopefully someone of you can help me
I'm running Mountain Lion.
thanks!
HINT
It probably has something to do with the 10.8 SKD. I have never noticed this issue before in any application.
How about move the whole Window menu to be Application menu submenu and then hide it?
You will still receive shortcuts and the highlited menu will be the application menu that is by anyway there (i suppose so, how else you will open preferences window? also shortcut?).

Show NSWindow as dropdown from NSStatusItem?

How can I show an NSWindow when clicking on an NSStatusItem, such that it shows over other applications when appearing, but without causing them to lose active status?
I have seen MAAttachedWindow, and it is neat but it does not show on top of other applications unless its own application is active.
I would check out this excellent tutorial and sample project:
Cocoa Popup window in the Status bar
That example shows how to "attach" a window to a status bar item, but you could position the window wherever you want. Basically, if you define your app as a LSUIElement you can display floating utility windows despite your app never activating or showing a dock icon, and other apps still remain key.
if you use MAAttachedWindow, you can set the winow level as NSStatusWindowLevel. Then it will show on top of other application.

Inline drawer Xcode?

I don't really know what it is but the icon on the top right of a finder window, (oval shaped button) when clicked hides the sidebar and toolbar icons, how can I implement something like this in my XCode project?
Thanks
As far as I can tell, this is just a standard NSButton that has a particular action bound to it. Adium has a similar button and is open source, you might try reading through the source code to see what they've done.
http://trac.adium.im/wiki/GettingNewestAdiumSource