view = NSButton ( title : "😱 Hyperspace", target : self, action : # selector ( hyperspace )) return item default : return nil } } Success!
hyperspace : let item = NSCustomTouchBarItem ( identifier : identifier ) item.