@@ -28,13 +28,13 @@ typedef void (^BHNotificationCompletionHandler)();
2828@property (nonatomic , strong ) NSError *notificationsError;
2929@property (nonatomic , strong ) NSData *deviceToken;
3030@property (nonatomic , strong ) NSDictionary *userInfo;
31- @property (nonatomic , weak ) BHNotificationResultHandler notificationResultHander;
31+ @property (nonatomic , copy ) BHNotificationResultHandler notificationResultHander;
3232@property (nonatomic , strong ) UILocalNotification *localNotification;
3333#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 100000
3434@property (nonatomic , strong ) UNNotification *notification;
3535@property (nonatomic , strong ) UNNotificationResponse *notificationResponse;
36- @property (nonatomic , weak ) BHNotificationPresentationOptionsHandler notificationPresentationOptionsHandler;
37- @property (nonatomic , weak ) BHNotificationCompletionHandler notificationCompletionHandler;
36+ @property (nonatomic , copy ) BHNotificationPresentationOptionsHandler notificationPresentationOptionsHandler;
37+ @property (nonatomic , copy ) BHNotificationCompletionHandler notificationCompletionHandler;
3838@property (nonatomic , strong ) UNUserNotificationCenter *center;
3939#endif
4040
@@ -43,33 +43,41 @@ typedef void (^BHNotificationCompletionHandler)();
4343@interface BHOpenURLItem : NSObject
4444
4545@property (nonatomic , strong ) NSURL *openURL;
46- @property (nonatomic , strong ) NSString *sourceApplication;
46+ @property (nonatomic , copy ) NSString *sourceApplication;
4747@property (nonatomic , strong ) id annotation;
4848@property (nonatomic , strong ) NSDictionary *options;
4949
5050@end
5151
52- typedef void (^shortcutItemCompletionHandler )(BOOL );
52+ typedef void (^BHShortcutCompletionHandler )(BOOL );
5353
5454@interface BHShortcutItem : NSObject
5555
5656#if __IPHONE_OS_VERSION_MAX_ALLOWED > 80400
5757@property (nonatomic , strong ) UIApplicationShortcutItem *shortcutItem;
58- @property (nonatomic , copy ) shortcutItemCompletionHandler scompletionHandler;
58+ @property (nonatomic , copy ) BHShortcutCompletionHandler scompletionHandler;
5959#endif
6060
6161@end
6262
6363
64- typedef void (^restorationHandler )(NSArray *);
64+ typedef void (^BHUserActivityRestorationHandler )(NSArray *);
6565
6666@interface BHUserActivityItem : NSObject
6767
68- @property (nonatomic , strong ) NSString *userActivityType;
68+ @property (nonatomic , copy ) NSString *userActivityType;
6969@property (nonatomic , strong ) NSUserActivity *userActivity;
7070@property (nonatomic , strong ) NSError *userActivityError;
71- @property (nonatomic , strong ) restorationHandler restorationHandler;
71+ @property (nonatomic , copy ) BHUserActivityRestorationHandler restorationHandler;
7272
73+ @end
74+
75+ typedef void (^BHWatchReplyHandler)(NSDictionary *replyInfo);
76+
77+ @interface BHWatchItem : NSObject
78+
79+ @property (nonatomic , strong ) NSDictionary *userInfo;
80+ @property (nonatomic , copy ) BHWatchReplyHandler replyHandler;
7381
7482@end
7583
0 commit comments