All Projects → onekiloparsec → KPCJumpBarControl

onekiloparsec / KPCJumpBarControl

Licence: MIT License
A macOS jump bar similar to Xcode's allowing to navigate accross a tree of objects

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to KPCJumpBarControl

IterativeLQR.jl
A Julia package for constrained iterative LQR (iLQR)
Stars: ✭ 15 (-73.68%)
Mutual labels:  control
RustRobotics
Rust implementation of PythonRobotics such as EKF, DWA, Pure Pursuit, LQR.
Stars: ✭ 40 (-29.82%)
Mutual labels:  control
ColorPicker
Customizable Color Picker control for WPF
Stars: ✭ 57 (+0%)
Mutual labels:  control
curb
Code for "An Online Algorithm to Reduce the Spread of Misinformation in Social Networks", WSDM 2018
Stars: ✭ 24 (-57.89%)
Mutual labels:  control
Collab-Hub
Collaboration Tool for Remote Performance Data
Stars: ✭ 14 (-75.44%)
Mutual labels:  control
perfekt
Release, changelog and version your packages with perfe(k)t 👌 ease!
Stars: ✭ 15 (-73.68%)
Mutual labels:  control
AutomationShield
Arduino library and MATLAB/Simulink API for the AutomationShield Arduino expansion boards for control engineering education.
Stars: ✭ 22 (-61.4%)
Mutual labels:  control
RegulatorView
Intelligent furniture remote control
Stars: ✭ 20 (-64.91%)
Mutual labels:  control
FT857d
CAT support for Arduino, simulating a Yaesu FT-857D
Stars: ✭ 31 (-45.61%)
Mutual labels:  control
rtsp-samsung-tv
Display RTSP streams from IP Cameras on Samsung Smart TV (Tizen TV)
Stars: ✭ 40 (-29.82%)
Mutual labels:  control
ngx-scroll-to-first-invalid
Directive to scroll to first invalid form control inside an Angular form on submit
Stars: ✭ 27 (-52.63%)
Mutual labels:  control
menu-control
🍔 Menu and breadcrumb components for Nette framework (@nette)
Stars: ✭ 26 (-54.39%)
Mutual labels:  control
toggle-switch-control
Toggle switch control for WPF & Silverlight
Stars: ✭ 77 (+35.09%)
Mutual labels:  control
control
Control in C++
Stars: ✭ 17 (-70.18%)
Mutual labels:  control
VirtualCapsuleEndoscopy
VR-Caps: A Virtual Environment for Active Capsule Endoscopy
Stars: ✭ 59 (+3.51%)
Mutual labels:  control
kr mav control
Code for quadrotor control
Stars: ✭ 31 (-45.61%)
Mutual labels:  control
QuadrotorFly
This is a dynamic simulation for quadrotor UAV
Stars: ✭ 61 (+7.02%)
Mutual labels:  control
granblue-automation-android
Educational application written in Kotlin aimed at automating user-defined workflows for the mobile game, "Granblue Fantasy", using MediaProjection, AccessibilityService, and OpenCV.
Stars: ✭ 26 (-54.39%)
Mutual labels:  control
Modiy
Modiy is an open-source hardware interface for modular synthesis.
Stars: ✭ 21 (-63.16%)
Mutual labels:  control
Laden
SwiftUI loading indicator view
Stars: ✭ 23 (-59.65%)
Mutual labels:  control

KPCTabsControlKPCJumpBarControlKPCSplitPanesKPCAppTerminationKPCSearchableOutlineViewKPCImportSheetController


KPCJumpBarControl

Build Status Version License Platform Carthage compatible

A jump bar similar to Xcode's allowing to easily display and navigate across a tree of objects.

Demo Jump Bar Screenshot

Demo JumpBar

Installation

Using Carthage: add github "onekiloparsec/KPCJumpBarControl" to your Cartfile and then run carthage update.

Using CocoaPods: pod 'KPCJumpBarControl'

Usage

KPCJumpBarControl is designed for you to use only the JumpBarControl class, and fill it with a tree of object conforming to JumpBarItem. A helper class JumpBarSegment is here for that, if you need one. Simply place a NSView in a storyboard or xib, where you need a jump bar, change its class to JumpBarControl and that's it. To react when the jumbpar selection change, implement the JumpBarControlDelegate methods.

For instance:

    let rootSegment = JumpBarItem(withTitle:"level 0", icon:NSImage(named:"Oval"))
    let segment1Item0 = JumpBarItem(withTitle:"level 1.0", icon:NSImage(named:"Polygon"))
    let segment1Item1 = JumpBarItem(withTitle:"level 1.1", icon:NSImage(named:"Rectangle"))
 
    rootSegment.children = [segment1Item0, segment1Item1]
  
    self.jumpBar?.useItemsTree([rootSegment])
    self.jumpBar?.delegate = self

Highlighting

The jump bar control support the possibility to be highlighted. This is useful when you have multiple subviews, for instance using KPCSplitPanes, each with jump bars, and you need to indicate to the user which subview is actually 'active'.

Author

Cédric Foellmi (@onekiloparsec)

LICENSE & NOTES

KPCJumpBarControl is licensed under the MIT license and hosted on GitHub at https://github.com/onekiloparsec/KPCJumpBarControl/ Fork the project and feel free to send pull requests with your changes!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].