• Stars
    star
    110
  • Rank 316,770 (Top 7 %)
  • Language
    Objective-C
  • License
    Other
  • Created over 13 years ago
  • Updated over 11 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

NSControl subclass that mimics Xcode's Jump Bar

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!