Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
NSControl subclass that mimics Xcode's Jump Bar
branch: master

Merge pull request #3 from dwarfland/master

Various tweaks, including for flipped images, to allow the setting of static accessoryImage/Label instead of a menu, and to override the gradient, e.g to use coloring as a status indicator
latest commit 7854dda078
Guillaume Campagna authored
Failed to load latest commit information.
GCJumpBar Fix for flipped images
GCJumpBarDemo.xcodeproj Support for @2x resources and retina Macs
GCJumpBarDemo Merge branch 'master' of github.com:dwarfland/GCJumpBar
.gitignore
GCJumpBarAccessorySeparator.psd Add the possibility to add a accessibility menu
GCJumpBarSeparator.psd Polish the separator image, again
LICENSE.txt Update license for dual licensing
README.textile

README.textile

GCJumpBar

NSControl subclass that mimics the Xcode 4 Jump Bar.

Usage

(See the demo project included)

When you have added the GCJumpBar folder in your project, simply allocate the Jump Bar and pass it a NSMenu. That’s all.

The Jump Bar can be used and its delegate and menu can be set in Interface Builder.

You can set a delegate that will receive messages when the Jump Bar changes selection.

- (void) jumpBar:(GCJumpBar*) jumpBar didSelectItemAtIndexPath:(NSIndexPath*) indexPath;

Missing features

GCJumpBar doesn’t have all the feature present in Xcode 4. The subset of feature present right now was what I needed. However, I will continue to work on it and you’re welcome to fork it!

Something went wrong with that request. Please try again.