Skip to content

Instantly share code, notes, and snippets.

@n3tr
Created November 5, 2016 11:54
Show Gist options
  • Select an option

  • Save n3tr/02018908b450884e39b83d9c0ada7fa7 to your computer and use it in GitHub Desktop.

Select an option

Save n3tr/02018908b450884e39b83d9c0ada7fa7 to your computer and use it in GitHub Desktop.
Add OtherItemsProxy
override func makeTouchBar() -> NSTouchBar? {
let touchBar = NSTouchBar()
touchBar.delegate = self
touchBar.customizationIdentifier = .touchBar
touchBar.defaultItemIdentifiers = [.label, .fixedSpaceSmall, .otherItemsProxy]
return touchBar
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment