Files
MacPass/MacPass/NSTextView+MPTouchBarExtension.m
Veit-Hendrik Schlenker 2d98c480da Add touchbar support (#862)
* Add touchbar support for the password input

* Add touchbar support for entry list

* Set NSTouchBarItemIdentifier as static strings

* Simplify touchbar initialization in NSTextView

* Remove colored buttons in touchbar to adhere to the Human Interface Guidelines

* Add search action to touchbar

* Create a TouchBarButtonCreator

* Enable Touchbar customization

* Fix typo

* Add customizationLabel to all buttons

* Use localised strings instead of hardcoded

* Add a popover touchbar for editing

* Update localisation

* Set the bezel color of the show password button to selected if toggled
2019-07-10 12:00:38 +02:00

18 lines
319 B
Objective-C

//
// MP.m
// MacPass
//
// Created by Veit-Hendrik Schlenker on 23.12.18.
// Copyright © 2018 HicknHack Software GmbH. All rights reserved.
//
#import "NSTextView+MPTouchBarExtension.h"
@implementation NSTextView (TouchBarExtension)
- (NSTouchBar *) makeTouchBar {
return [self.window makeTouchBar];
}
@end