19#import <UIKit/UIKit.h>
26NS_ASSUME_NONNULL_BEGIN
53- (void)viewWillAppear:(BOOL)animated;
60- (void)viewDidAppear:(BOOL)animated;
67- (void)viewWillDisappear:(BOOL)animated;
74- (void)viewDidDisappear:(BOOL)animated;
82- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
103- (void)tapAutoSetting:(nullable
id)sender;
110- (void)alertSelect:(nonnull NSDictionary *)info;
124- (void)changeTiming:(nullable
id)sender;
138- (void)switchPrev:(nullable
id)sender;
146- (void)appSuspended:(nullable NSNotification *)notification;
153- (void)appResume:(nullable NSNotification *)notification;
161- (void)finishMusic:(nullable NSNotification *)notification;
192- (void)loop:(nullable CADisplayLink *)sender;
200- (nullable NSString *)soundName:(nullable NSString *)name;
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