forked from codyd51/VeloxLite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
VeloxProtocol.h
26 lines (22 loc) · 747 Bytes
/
VeloxProtocol.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, ArrowViewPosition){
ArrowViewPositionTop,
ArrowViewPositionBottom
};
@class VeloxNotificationController;
@protocol VeloxView
@property (nonatomic, assign) NSArray* bulletins;
@property (nonatomic, assign) VeloxNotificationController *controller;
- (id)initWithBundleIdentifier:(NSString *)bundleIdentifier;
- (CGFloat)viewHeight;
@optional
- (UIColor*)preferredArrowColorForArrowPosition:(ArrowViewPosition)position isDarkMode:(BOOL)darkMode;
- (UIColor*)backgroundColorForDarkMode:(BOOL)darkMode;
- (BOOL)needsNotifications;
- (BOOL)includeArrowView;
- (void)viewWillAppear;
- (void)viewDidAppear;
- (void)viewWillDisappear;
- (void)viewDidDisappear;
@end