CocoaDev

Edit AllPages

PSMTabBarControl is an easy-to-use controller for an NSTabView that allows your app to have Safari-like tabs. Also see TabBarView class. PSMTabBarControl is used in Adium, iTerm, MacVim, Vienna, Sequel Pro.

Originally created by John Pannell [http://www.positivespinmedia.com/dev/PSMTabBarControl.html], Currently hosted at: http://code.google.com/p/maccode/ .

11 Jan 2010. I cannot compile the maccode version of PSMTabBarControl with Xcode 3.2.1. It used to work in older versions of Xcode + IB. Which fork is the recommended one to contribute to? – SimonStrandgaard —- 24 Jan 2010. Now I have tried several times making an ibplugin out of PSMTabBarControl, but without luck. I have managed to make it show tabs, but alas it crashes when dragging it around, some kind of observing keypath exception happens. I’m no expert in bindings, so now I’m pondering coding my own tabbar, so I can gain some more insight how ibplugins works, then eventually try again porting PSMTabBarControl. —- There are forks of the project on Github:


30 June 2011

I’ve ported and updated a copy of PSMTabBarControl via maccode to work with Snow Leopard 10.6 and Interface Builder 3.0. I had to patch a small feature out of it due to it relying on Carbon Framework ( holding spacebar while dragging tabs skips animation ). The IBPlugin is rough but it works.

Overall it may have a few bugs especially related to the IBPlugin but it will actually work and compile on 10.6. It includes a rebuilt demo app as well.

[http://codaset.com/robertjpayne/psmtabbarcontrol/]

If you find issues log them into the Ticket tracker and I’ll update the project as needed. Or you can fix it and push your patches and I’ll merge them appropriately.

-Robert Payne