Last active
November 5, 2016 11:59
-
-
Save n3tr/9e7b5889da7de69b9b54bdbaee2c604f to your computer and use it in GitHub Desktop.
TouchBarItemsIdentifier
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ViewController.swift | |
fileprivate extension NSTouchBarCustomizationIdentifier { | |
static let counterTouchBar = NSTouchBarCustomizationIdentifier("com.n3tr.countertouchbar.counter") | |
} | |
fileprivate extension NSTouchBarItemIdentifier { | |
static let increase = NSTouchBarItemIdentifier("com.n3tr.countertouchbar.increase") | |
static let decrease = NSTouchBarItemIdentifier("com.n3tr.countertouchbar.decrease") | |
static let counter = NSTouchBarItemIdentifier("com.n3tr.countertouchbar.counter") | |
} | |
class ViewController: NSViewController { | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment