-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathXXRootViewController.h
More file actions
35 lines (29 loc) · 1.6 KB
/
XXRootViewController.h
File metadata and controls
35 lines (29 loc) · 1.6 KB
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
27
28
29
30
31
32
33
34
35
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
// Make sure XX matches your class prefix if different
@interface XXRootViewController : UIViewController <UITextFieldDelegate>
@property (class, nonatomic, readonly) UIColor *bgColor;
@property (class, nonatomic, readonly) UIColor *cardColor;
@property (class, nonatomic, readonly) UIColor *accentColor; // Electric Blue
@property (class, nonatomic, readonly) UIColor *secondaryAccentColor; // Muted Gray
@property (class, nonatomic, readonly) UIColor *fridaOrangeColor;
@property (class, nonatomic, readonly) UIColor *logTagGoodColor; // Green
@property (class, nonatomic, readonly) UIColor *logTagBadColor; // Red
@property (class, nonatomic, readonly) UIColor *logTagInfoColor; // Cyan
@property (nonatomic, strong) UIView *portCardView;
@property (nonatomic, strong) UIView *configCardView;
@property (nonatomic, strong) UIView *logCardView;
@property (nonatomic, strong) UILabel *currentPortHeaderLabel;
@property (nonatomic, strong) UILabel *statusLabel;
@property (nonatomic, strong) UILabel *configHeaderLabel;
@property (nonatomic, strong) UITextField *portTextField;
@property (nonatomic, strong) UIButton *applyButton;
@property (nonatomic, strong) UIButton *revertButton;
@property (nonatomic, strong) UIButton *revertInfoButton; // Hint only for now
@property (nonatomic, strong) UILabel *logHeaderLabel;
@property (nonatomic, strong) UITextView *logTextView;
@property (nonatomic, strong) UIButton *clearLogsButton;
@property (nonatomic, strong) UILabel *feedbackLabel;
@property (nonatomic, strong) UIImpactFeedbackGenerator *hapticGenerator;
@end
NS_ASSUME_NONNULL_END