mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-22 19:59:29 +00:00
dedicated delegate for user interaction with notifications
This commit is contained in:
21
MacPass/MPUserNotificationCenterDelegate.m
Normal file
21
MacPass/MPUserNotificationCenterDelegate.m
Normal file
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// MPUserNotificationCenterDelegate.m
|
||||
// MacPass
|
||||
//
|
||||
// Created by Michael Starke on 05.12.17.
|
||||
// Copyright © 2017 HicknHack Software GmbH. All rights reserved.
|
||||
//
|
||||
|
||||
#import "MPUserNotificationCenterDelegate.h"
|
||||
|
||||
@implementation MPUserNotificationCenterDelegate
|
||||
|
||||
- (instancetype)init {
|
||||
self = [super init];
|
||||
if(self) {
|
||||
NSUserNotificationCenter.defaultUserNotificationCenter.delegate = self;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user