I’m trying to design an UI in XCode/IB. I want to make a toolbar along the top of my window…but for the life of me, I cannot get the NSToolbar to work. What I mean is, I can see the default NSToolbar with its set of buttons, but I cannot drag items out of the ‘Default Toolbar Items’ rectangle, nor can I drag new toolbar items INTO the ‘Default Toolbar Items’ rectangle. Is there a setting/property I need to modify to be able to do this?
I’m running the latest XCode 5.01 on Mavericks. I just upgraded yesterday, but this also didn’t work in the past for me. I’ve just never posted this question until now.
The toolbar has two areas in IB (when double-clicked to open its designer).
the top shows the AVAILABLE buttons/controls. you can touch those, drag em out, connect em, etc.
the bottom shows the “default” configuration for the toolbar, and you can’t do anything with that part, except drag new stuff in from the top, rmeove stuff, and re-arrange it.
sorry it took so long to get back to you on this…was tied up in an ‘emergency project’. Here is a simple, empty, new Oxy project I just created I put an NSToolbar on the window, and from here - I can’t do a damn thing w/ the toolbar. Can’t add/remove/drag on/off buttons, etc.
I’m working on an OSX project and I’d really like to use an NSToolbar, but I can’t figure out what is wrong on my end.
The attached zip contains the xib. If you could see if there are any problems in the xib, that would be great.
Nevermind this issue. I’m connecting to my Mac Mini via a VNC remote access program. Turns out that the mouse doesn’t work when dragging/dropping items on an NSToolbar with the remote mouse. If I use the mouse connected to the mac, it works fine. Looks like I need a better remote access program on Windows.