JubeatPlus 3.9.11
Loading...
Searching...
No Matches
SettingsTimingAdjustViewController.h
Go to the documentation of this file.
1
18
19#import <UIKit/UIKit.h>
20
21#import "AdjustTestView.h"
22#import "AlertViewManager.h"
23
24@class CADisplayLink;
25
26NS_ASSUME_NONNULL_BEGIN
27
32
39- (instancetype)init;
40
46- (void)loadView;
47
53- (void)viewWillAppear:(BOOL)animated;
54
60- (void)viewDidAppear:(BOOL)animated;
61
67- (void)viewWillDisappear:(BOOL)animated;
68
74- (void)viewDidDisappear:(BOOL)animated;
75
82- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
83
89- (UIInterfaceOrientationMask)supportedInterfaceOrientations;
90
96- (BOOL)shouldAutorotate;
97
103- (void)tapAutoSetting:(nullable id)sender;
104
110- (void)alertSelect:(nonnull NSDictionary *)info;
111
116- (void)dealloc;
117
124- (void)changeTiming:(nullable id)sender;
125
130- (void)refreshValue;
131
138- (void)switchPrev:(nullable id)sender;
139
146- (void)appSuspended:(nullable NSNotification *)notification;
147
153- (void)appResume:(nullable NSNotification *)notification;
154
161- (void)finishMusic:(nullable NSNotification *)notification;
162
167- (void)startAnimation;
168
173- (void)pauseAnimation;
174
179- (void)resumeAnimation;
180
185- (void)stopAnimation;
186
192- (void)loop:(nullable CADisplayLink *)sender;
193
200- (nullable NSString *)soundName:(nullable NSString *)name;
201
207@property(nonatomic, strong, nullable) CADisplayLink *displayLink;
208
209@end
210
211NS_ASSUME_NONNULL_END
212
213// code: language=Objective-C
214// kate: hl Objective-C;
215// vim: set ft=objc :
The timing-adjust test view.
A shared alert presenter that hides the UIAlertController/UIAlertView split behind one API.
The timing-adjust calibration view controller.
Definition SettingsTimingAdjustViewController.h:31
void startAnimation()
Creates the CADisplayLink targeting -loop: and adds it to the current run loop.
Definition SettingsTimingAdjustViewController.m:489
void stopAnimation()
Invalidates and clears the display link, if any.
Definition SettingsTimingAdjustViewController.m:519
void resumeAnimation()
Unpauses the display link, if any.
Definition SettingsTimingAdjustViewController.m:510
CADisplayLink * displayLink
The display link driving the preview animation.
Definition SettingsTimingAdjustViewController.h:207
void dealloc()
Drops the preview view and removes the notification observers, then chains up.
Definition SettingsTimingAdjustViewController.m:314
void pauseAnimation()
Pauses the display link, if any.
Definition SettingsTimingAdjustViewController.m:501
void loadView()
Builds the whole calibration UI: the background image, the four labels, the slider,...
Definition SettingsTimingAdjustViewController.m:114
instancetype init()
Sets the navigation title, seeds delaySector from NSUserDefaults , subscribes to the app suspend/resu...
Definition SettingsTimingAdjustViewController.m:89
UIInterfaceOrientationMask supportedInterfaceOrientations()
Returns the portrait and portrait-upside-down mask.
Definition SettingsTimingAdjustViewController.m:334
BOOL shouldAutorotate()
Returns YES to permit autorotation.
Definition SettingsTimingAdjustViewController.m:342
void refreshValue()
Formats the current slider value into the value label.
Definition SettingsTimingAdjustViewController.m:406
The optional delegate of AlertViewManager.
Definition AlertViewManager.h:18