{"id":15037461,"url":"https://github.com/onekiloparsec/kpcjumpbarcontrol","last_synced_at":"2026-03-15T18:10:19.665Z","repository":{"id":56917503,"uuid":"57611488","full_name":"onekiloparsec/KPCJumpBarControl","owner":"onekiloparsec","description":"A macOS jump bar similar to Xcode's allowing to navigate accross a tree of objects","archived":false,"fork":false,"pushed_at":"2019-12-22T13:41:47.000Z","size":271,"stargazers_count":56,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T01:13:11.515Z","etag":null,"topics":["control","jumpbar","macos","swift","swift3"],"latest_commit_sha":null,"homepage":"http://www.onekiloparsec.dev/kpcjumpbarcontrol","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onekiloparsec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-01T15:25:06.000Z","updated_at":"2024-10-22T12:51:16.000Z","dependencies_parsed_at":"2022-08-21T04:50:48.349Z","dependency_job_id":null,"html_url":"https://github.com/onekiloparsec/KPCJumpBarControl","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onekiloparsec%2FKPCJumpBarControl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onekiloparsec%2FKPCJumpBarControl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onekiloparsec%2FKPCJumpBarControl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onekiloparsec%2FKPCJumpBarControl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onekiloparsec","download_url":"https://codeload.github.com/onekiloparsec/KPCJumpBarControl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248127100,"owners_count":21052178,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["control","jumpbar","macos","swift","swift3"],"created_at":"2024-09-24T20:34:41.425Z","updated_at":"2026-03-15T18:10:19.466Z","avatar_url":"https://github.com/onekiloparsec.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch3 align=\"center\"\u003e\n    \u003cimg src=\"http://onekilopars.ec/wp-content/uploads/2018/07/1kpcProComponents.001.png\" width=\"100%\" /\u003e\n\u003c/h3\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/onekiloparsec/KPCTabsControl\"\u003eKPCTabsControl\u003c/a\u003e \u0026bull;\n  \u003cb\u003eKPCJumpBarControl\u003c/b\u003e \u0026bull;\n  \u003ca href=\"https://github.com/onekiloparsec/KPCSplitPanes\"\u003eKPCSplitPanes\u003c/a\u003e \u0026bull;\n  \u003ca href=\"https://github.com/onekiloparsec/KPCAppTermination\"\u003eKPCAppTermination\u003c/a\u003e \u0026bull;\n  \u003ca href=\"https://github.com/onekiloparsec/KPCSearchableOutlineView\"\u003eKPCSearchableOutlineView\u003c/a\u003e \u0026bull;\n  \u003ca href=\"https://github.com/onekiloparsec/KPCImportSheetController\"\u003eKPCImportSheetController\u003c/a\u003e\n\u003c/p\u003e\n\n-------\n\nKPCJumpBarControl\n==============\n\n![](https://img.shields.io/badge/Swift-3.0-blue.svg?style=flat)\n[![Build Status](http://img.shields.io/travis/onekiloparsec/KPCJumpBarControl.svg?style=flat)](https://travis-ci.org/onekiloparsec/KPCJumpBarControl)\n![Version](https://img.shields.io/cocoapods/v/KPCJumpBarControl.svg?style=flat)\n![License](https://img.shields.io/cocoapods/l/KPCJumpBarControl.svg?style=flat)\n![Platform](https://img.shields.io/cocoapods/p/KPCJumpBarControl.svg?style=flat)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n\nA jump bar similar to Xcode's allowing to easily display and navigate across a tree of objects.\n\n![Demo Jump Bar Screenshot](http://onekilopars.ec/wp-content/uploads/2018/11/KPCJumpBarControlScreenshot2.png)\n\n![Demo JumpBar](http://onekilopars.ec/wp-content/uploads/2018/11/KPCJumpBarControlDemo.gif) \n\n\nInstallation\n------------\n\nUsing [Carthage](https://github.com/Carthage/Carthage): add `github \"onekiloparsec/KPCJumpBarControl\"` to your `Cartfile` and then run `carthage update`.\n\nUsing [CocoaPods](http://cocoapods.org/): `pod 'KPCJumpBarControl'`\n\n\nUsage\n-----\n\nKPCJumpBarControl is designed for you to use only the `JumpBarControl` class, and fill it with a tree of object\nconforming to `JumpBarItem`. A helper class `JumpBarSegment` is here for that, if you need one. \nSimply place a `NSView` in a storyboard or xib, where you need a jump bar, change its class to `JumpBarControl` and\nthat's it. To react when the jumbpar selection change, implement the `JumpBarControlDelegate` methods.\n\nFor instance:\n```swift \n    let rootSegment = JumpBarItem(withTitle:\"level 0\", icon:NSImage(named:\"Oval\"))\n    let segment1Item0 = JumpBarItem(withTitle:\"level 1.0\", icon:NSImage(named:\"Polygon\"))\n    let segment1Item1 = JumpBarItem(withTitle:\"level 1.1\", icon:NSImage(named:\"Rectangle\"))\n \n    rootSegment.children = [segment1Item0, segment1Item1]\n  \n    self.jumpBar?.useItemsTree([rootSegment])\n    self.jumpBar?.delegate = self\n```\n\nHighlighting\n------------\n\nThe jump bar control support the possibility to be highlighted. This is useful when you have multiple subviews, for instance using \u003ca href=\"https://github.com/onekiloparsec/KPCSplitPanes\"\u003eKPCSplitPanes\u003c/a\u003e, each with jump bars, and you need to indicate to the user which subview is actually 'active'. \n\n\nAuthor\n------\n\n[Cédric Foellmi](https://github.com/onekiloparsec) ([@onekiloparsec](https://twitter.com/onekiloparsec))\n\n\nLICENSE \u0026 NOTES\n---------------\n\nKPCJumpBarControl is licensed under the MIT license and hosted on GitHub at https://github.com/onekiloparsec/KPCJumpBarControl/\nFork the project and feel free to send pull requests with your changes!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonekiloparsec%2Fkpcjumpbarcontrol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonekiloparsec%2Fkpcjumpbarcontrol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonekiloparsec%2Fkpcjumpbarcontrol/lists"}