dedicated delegate for user interaction with notifications

This commit is contained in:
Michael Starke
2017-12-05 12:08:10 +01:00
parent 5879de1e4d
commit e8ddbd092c
6 changed files with 57 additions and 16 deletions

View 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