-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathControlCenterUI.h
More file actions
134 lines (97 loc) · 4.5 KB
/
ControlCenterUI.h
File metadata and controls
134 lines (97 loc) · 4.5 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
#include <UIKit/UIKit.h>
@interface CCUIControlCenterViewController : UIViewController
- (void)_addContentViewController:(UIViewController*)arg1;
- (void)_removeContentViewController:(UIViewController*)arg1;
- (void)_loadPages;
- (id)contentViewControllers;
- (void)_updatePageControl;
- (void)_updateScrollViewContentSize;
- (void)_layoutScrollView;
- (void)controlCenterWillPresent;
- (void)scrollViewDidEndDecelerating:(id)arg1;
- (id)sortedVisibleViewControllers;
- (void)_addOrRemovePagesBasedOnVisibility;
- (void)scrollToPage:(unsigned long long)arg1 animated:(BOOL)arg2 withCompletion:(void(^)(BOOL))completion;
- (BOOL)isPresented;
- (void)appcenter_displayFirstRunAlert;
@end
@protocol CCUIControlCenterObserver
- (void)controlCenterDidFinishTransition;
- (void)controlCenterWillBeginTransition;
- (void)controlCenterDidDismiss;
- (void)controlCenterWillPresent;
@optional
- (void)controlCenterWillFinishTransitionOpen:(BOOL)arg1 withDuration:(NSTimeInterval)arg2;
@end
@protocol CCUIControlCenterPageContentProviding, CCUIControlCenterSystemAgent;
@protocol CCUIControlCenterPageContentViewControllerDelegate
- (void)endSuppressingPunchOutMaskCachingForReason:(NSString *)arg1;
- (void)beginSuppressingPunchOutMaskCachingForReason:(NSString *)arg1;
- (void)visibilityPreferenceChangedForContentViewController:(UIViewController<CCUIControlCenterPageContentProviding> *)arg1;
- (long long)layoutStyle;
- (id <CCUIControlCenterSystemAgent>)controlCenterSystemAgent;
- (void)contentViewControllerWantsDismissal:(UIViewController<CCUIControlCenterPageContentProviding> *)arg1;
@end
@protocol CCUIControlCenterPageContentProviding <CCUIControlCenterObserver>
@property (nonatomic, assign) id <CCUIControlCenterPageContentViewControllerDelegate> delegate;
@optional
@property(readonly, nonatomic) BOOL wantsVisible;
@property(readonly, nonatomic) struct UIEdgeInsets contentInsets;
- (void)controlCenterDidScrollToThisPage:(BOOL)arg1;
- (BOOL)dismissModalFullScreenIfNeeded;
@end
@interface CCUIControlCenterPagePlatterView : UIView
@property(retain, nonatomic) UIView *contentView;
@end
@interface CCUIControlCenterPageContainerViewController : UIViewController
@property(readonly, nonatomic) UIViewController<CCUIControlCenterPageContentProviding> *contentViewController;
@end
@class CCUIControlCenterButton;
@protocol CCUIControlCenterButtonDelegate
- (BOOL)isInternal;
- (void)buttonTapped:(CCUIControlCenterButton *)arg1;
@optional
- (void)button:(CCUIControlCenterButton *)arg1 didChangeState:(long long)arg2;
@end
@class FBSceneHostWrapperView;
@interface CCUIControlCenterViewController (AppCenter)
@property (nonatomic, retain) FBSceneHostWrapperView *animationWrapperView;
- (void)appcenter_main;
- (void)appcenter_appSelected:(NSString*)bundleIdentifier;
- (void)appcenter_removeAllPages;
- (void)appcenter_savePages;
- (CCUIControlCenterPageContainerViewController*)appcenter_containerViewControllerForContentView:(UIView*)contentView;
- (void)appcenter_registerForDetectingLockState;
- (void)appcenter_reloadForUnlock;
- (id)pagePlatterViewsForContainerView:(id)arg1;
@end
@class CCUIControlCenterContainerView;
@protocol CCUIControlCenterSystemAgent;
@protocol CCUIControlCenterContainerViewDelegate <NSObject>
- (id <CCUIControlCenterSystemAgent>)controlCenterSystemAgent;
- (struct UIEdgeInsets)pageInsetForContainerView:(CCUIControlCenterContainerView *)arg1;
- (struct UIEdgeInsets)marginInsetForContainerView:(CCUIControlCenterContainerView *)arg1;
- (UIPageControl *)pageControlForContainerView:(CCUIControlCenterContainerView *)arg1;
- (UIScrollView *)scrollViewForContainerView:(CCUIControlCenterContainerView *)arg1;
- (NSArray *)pagePlatterViewsForContainerView:(CCUIControlCenterContainerView *)arg1;
- (double)contentHeightForContainerView:(CCUIControlCenterContainerView *)arg1;
@end
@interface CCUIControlCenterContainerView : UIView
@property (nonatomic, assign) id <CCUIControlCenterContainerViewDelegate> delegate;
- (void)_updateMasks;
- (void)_resetControlCenterToOffscreenState;
@end
@interface CCUIBackgroundDarkeningWithPlatterCutoutView : UIView
@property(nonatomic) struct CGRect cutOutRect;
- (id)initWithFrame:(CGRect)arg1 darkeningColor:(id)arg2 platterCornerRadius:(CGFloat)arg3;
@end
@interface BSAbstractDefaultDomain
@end
@interface CCUIControlCenterDefaults : BSAbstractDefaultDomain
+ (id)standardDefaults;
- (void)setHasAcknowledgedFirstUseAlert:(BOOL)arg1;
@end
@interface CCUIFirstUsePanelViewController: UIViewController <CCUIControlCenterObserver>
- (void)viewDidLoad;
- (void)_tappedContinueButton:(id)arg1;
@end