|
|
@ -17,12 +17,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
@interface NotificationsManager ()
|
|
|
|
@interface NotificationsManager ()
|
|
|
|
|
|
|
|
|
|
|
|
@property SystemSoundID newMessageSound;
|
|
|
|
@property (nonatomic) SystemSoundID newMessageSound;
|
|
|
|
@property (nonatomic, readonly) NSMutableDictionary<NSString *, UILocalNotification *> *currentNotifications;
|
|
|
|
@property (nonatomic, readonly) NSMutableDictionary<NSString *, UILocalNotification *> *currentNotifications;
|
|
|
|
@property (nonatomic, readonly) NotificationType notificationPreviewType;
|
|
|
|
@property (nonatomic, readonly) NotificationType notificationPreviewType;
|
|
|
|
|
|
|
|
|
|
|
|
@end
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#pragma mark -
|
|
|
|
|
|
|
|
|
|
|
|
@implementation NotificationsManager
|
|
|
|
@implementation NotificationsManager
|
|
|
|
|
|
|
|
|
|
|
|
- (instancetype)init
|
|
|
|
- (instancetype)init
|
|
|
|