JubeatPlus 3.9.11
Loading...
Searching...
No Matches
SettingsViewController.h
Go to the documentation of this file.
1
14
15#import <UIKit/UIKit.h>
16
17#import "AlertViewManager.h"
18
19NS_ASSUME_NONNULL_BEGIN
20
28// clang-format off
29// One protocol per line: the packed form, which begins a continuation line with
30// ": UITableViewController <", is read by Doxygen as undocumented ivars named after the trailing
31// protocols.
32@interface SettingsViewController : UITableViewController <UITableViewDataSource,
33 UITableViewDelegate,
35// clang-format on
36
43@property(nonatomic, weak, nullable) id settingsDelegate;
44
50@property(nonatomic, strong, nullable) UISwitch *switchCombo;
51
58- (void)createMenuTable;
59
67- (instancetype)initWithStyle:(UITableViewStyle)style;
68
74- (void)loadView;
75
83- (UITableViewCell *)tableView:(nonnull UITableView *)tableView
84 cellForRowAtIndexPath:(nonnull NSIndexPath *)indexPath;
85
92- (NSInteger)numberOfSectionsInTableView:(nonnull UITableView *)tableView;
93
101- (NSInteger)tableView:(nonnull UITableView *)tableView numberOfRowsInSection:(NSInteger)section;
102
108- (void)comboChanged:(nullable id)sender;
109
114- (void)settingClose;
115
122- (void)tableView:(nonnull UITableView *)tableView
123 didSelectRowAtIndexPath:(nonnull NSIndexPath *)indexPath;
124
132- (nullable NSIndexPath *)getTargetPath:(int)type inSection:(int)section;
133
140- (nullable NSIndexPath *)getTargetPath:(int)type;
141
147
153- (void)viewDidLoad;
154
159- (void)viewDidUnload;
160
167- (void)viewWillAppear:(BOOL)animated;
168
174- (void)viewDidAppear:(BOOL)animated;
175
181- (void)viewWillDisappear:(BOOL)animated;
182
188- (void)viewDidDisappear:(BOOL)animated;
189
196- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
197
204- (UIInterfaceOrientationMask)supportedInterfaceOrientations;
205
211- (BOOL)shouldAutorotate;
212
217- (void)dealloc;
218
225- (void)alertSelect:(nonnull NSDictionary *)info;
226
232
233@end
234
235NS_ASSUME_NONNULL_END
236
237// code: language=Objective-C
238// kate: hl Objective-C;
239// vim: set ft=objc :
A shared alert presenter that hides the UIAlertController/UIAlertView split behind one API.
The settings-menu screen: a grouped table of settings entries, each routing to a sub-settings control...
Definition SettingsViewController.h:34
void viewDidUnload()
Releases the combo switch on unload.
Definition SettingsViewController.m:243
BOOL shouldAutorotate()
Always allows autorotation.
Definition SettingsViewController.m:701
void settingClose()
Closes any open alert and pops to the navigation stack root.
Definition SettingsViewController.m:316
void loadView()
Loads the table view and creates the combo-display switch (a 94x27 UISwitch wired to -comboChanged:),...
Definition SettingsViewController.m:206
UIInterfaceOrientationMask supportedInterfaceOrientations()
The supported orientations mask (portrait and portrait-upside-down).
Definition SettingsViewController.m:696
void deleteCustomSequence()
Removes every custom-sequence directory the player no longer owns music for.
Definition SettingsViewController.m:672
void createMenuTable()
Builds menuTable (row-type numbers grouped into sections) and menuTypeTable (the matching cell-style ...
Definition SettingsViewController.m:82
void dealloc()
Chains up to UITableViewController.
Definition SettingsViewController.m:303
id settingsDelegate
The object forwarded to sub-controllers that need to notify the settings owner (for example the ratin...
Definition SettingsViewController.h:43
void didReceiveMemoryWarning()
Standard memory-warning forward.
Definition SettingsViewController.m:298
UISwitch * switchCombo
The switch hosted in the "show combos" row, toggling the combo display.
Definition SettingsViewController.h:50
void viewDidLoad()
Disables exclusive-touch propagation issues by enabling exclusive touch on the navigation bar and eac...
Definition SettingsViewController.m:223
The optional delegate of AlertViewManager.
Definition AlertViewManager.h:18