BBPApplicationDelegate.h
817 Bytes
//
// BBPApplicationDelegate.h
// Pyramid
//
// Created by jilutao on 2019/7/18.
// Copyright © 2019 Baidu. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <UserNotifications/UserNotifications.h>
NS_ASSUME_NONNULL_BEGIN
@protocol BBPModuleProtocol;
@interface BBPApplicationDelegate : NSObject<UIApplicationDelegate, UNUserNotificationCenterDelegate>
@property (nonatomic, copy, readonly) NSArray <BBPModuleProtocol>*(^moduleInstances)(void);
@property (nonatomic, copy, readonly) BOOL (^dispatchSystemEnabled)(void);
+ (instancetype)new NS_UNAVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithModuleInstances:(NSArray <BBPModuleProtocol>* (^)(void))modules
dispatchSystemEnabled:(BOOL(^)(void))enabled NS_DESIGNATED_INITIALIZER;
@end
NS_ASSUME_NONNULL_END