|
JubeatPlus 3.9.11
|
The settings-menu screen: a grouped table of settings entries, each routing to a sub-settings controller. More...
#include <SettingsViewController.h>


Instance Methods | |
| (void) | - createMenuTable |
Builds menuTable (row-type numbers grouped into sections) and menuTypeTable (the matching cell-style numbers), gated by the current theme, the iPad idiom, and bEnableMyPage. | |
| (instancetype) | - initWithStyle: |
Sets the navigation title to "SETTINGS", seeds bEnableMyPage from the presence and decodability of the stored jubeat Lab URL, and builds the menu. | |
| (void) | - loadView |
Loads the table view and creates the combo-display switch (a 94x27 UISwitch wired to -comboChanged:), seeding it from the "PrefShowCombo" default. | |
| (UITableViewCell *) | - tableView:cellForRowAtIndexPath: |
| Dequeues and configures the cell for a row, keyed on the row's cell-style number. | |
| (NSInteger) | - numberOfSectionsInTableView: |
Returns the number of sections, which is menuTable.count. | |
| (NSInteger) | - tableView:numberOfRowsInSection: |
Returns the number of rows in a section, which is menuTable[section].count. | |
| (void) | - comboChanged: |
| Action for the combo-display switch; writes its state to the "PrefShowCombo" default. | |
| (void) | - settingClose |
| Closes any open alert and pops to the navigation stack root. | |
| (void) | - tableView:didSelectRowAtIndexPath: |
| Routes a tapped row to its sub-settings controller (or the delete-sequence alert). | |
| (nullable NSIndexPath *) | - getTargetPath:inSection: |
Finds the index path of the first row in a section whose row-type equals type. | |
| (nullable NSIndexPath *) | - getTargetPath: |
| Finds the index path of the first row of the given row-type across all sections. | |
| (void) | - didReceiveMemoryWarning |
| Standard memory-warning forward. | |
| (void) | - viewDidLoad |
| Disables exclusive-touch propagation issues by enabling exclusive touch on the navigation bar and each of its subviews. | |
| (void) | - viewDidUnload |
| Releases the combo switch on unload. | |
| (void) | - viewWillAppear: |
| Deselects any selected row and reloads the theme, Twitter, and rating-chip rows so their detail text refreshes. | |
| (void) | - viewDidAppear: |
| Standard appearance forward. | |
| (void) | - viewWillDisappear: |
| Standard disappearance forward. | |
| (void) | - viewDidDisappear: |
| Standard disappearance forward. | |
| (BOOL) | - shouldAutorotateToInterfaceOrientation: |
| Permits the two portrait orientations. | |
| (UIInterfaceOrientationMask) | - supportedInterfaceOrientations |
| The supported orientations mask (portrait and portrait-upside-down). | |
| (BOOL) | - shouldAutorotate |
| Always allows autorotation. | |
| (void) | - dealloc |
Chains up to UITableViewController. | |
| (void) | - alertSelect: |
AlertViewManager delegate reply; deletes the custom sequences when the delete-confirm alert (tag 0) reports its confirmation button (index 1) was tapped. | |
| (void) | - deleteCustomSequence |
| Removes every custom-sequence directory the player no longer owns music for. | |
| Instance Methods inherited from <AlertViewManagerDelegate> | |
| (void) | - alertClose: |
Sent when a UIAlertController -based alert finishes dismissing. | |
Properties | |
| id | settingsDelegate |
| The object forwarded to sub-controllers that need to notify the settings owner (for example the rating-chip picker and the notification page). | |
| UISwitch * | switchCombo |
| The switch hosted in the "show combos" row, toggling the combo display. | |
The settings-menu screen: a grouped table of settings entries, each routing to a sub-settings controller.
The controller is its own data source and delegate, and acts as the AlertViewManager delegate for the delete-custom-sequence confirmation (see -alertSelect:).
| - (void) alertSelect: | (nonnull NSDictionary *) | info |
AlertViewManager delegate reply; deletes the custom sequences when the delete-confirm alert (tag 0) reports its confirmation button (index 1) was tapped.
| info | The reply dictionary carrying "Tag" and "btnMessage". |
Reimplemented from <AlertViewManagerDelegate>.
| - (void) comboChanged: | (nullable id) | sender |
Action for the combo-display switch; writes its state to the "PrefShowCombo" default.
| sender | The switch that changed. |
| - (void) createMenuTable |
Builds menuTable (row-type numbers grouped into sections) and menuTypeTable (the matching cell-style numbers), gated by the current theme, the iPad idiom, and bEnableMyPage.
| - (void) dealloc |
Chains up to UITableViewController.
| - (void) deleteCustomSequence |
Removes every custom-sequence directory the player no longer owns music for.
| - (void) didReceiveMemoryWarning |
Standard memory-warning forward.
| - (NSIndexPath *) getTargetPath: | (int) | type |
Finds the index path of the first row of the given row-type across all sections.
| type | The row-type number to locate. |
nil if none exists. | - (NSIndexPath *) getTargetPath: | (int) | type | |
| inSection: | (int) | section |
Finds the index path of the first row in a section whose row-type equals type.
| type | The row-type number to locate. |
| section | The section to search. |
nil if the section has no such row. | - (instancetype) initWithStyle: | (UITableViewStyle) | style |
Sets the navigation title to "SETTINGS", seeds bEnableMyPage from the presence and decodability of the stored jubeat Lab URL, and builds the menu.
| style | The table-view style handed to UITableViewController. |
| - (void) loadView |
Loads the table view and creates the combo-display switch (a 94x27 UISwitch wired to -comboChanged:), seeding it from the "PrefShowCombo" default.
| - (NSInteger) numberOfSectionsInTableView: | (nonnull UITableView *) | tableView |
Returns the number of sections, which is menuTable.count.
| tableView | The table view. |
| - (void) settingClose |
Closes any open alert and pops to the navigation stack root.
| - (BOOL) shouldAutorotate |
Always allows autorotation.
YES. | - (BOOL) shouldAutorotateToInterfaceOrientation: | (UIInterfaceOrientation) | interfaceOrientation |
Permits the two portrait orientations.
| interfaceOrientation | The orientation to test. |
YES for portrait and portrait-upside-down. | - (UIInterfaceOrientationMask) supportedInterfaceOrientations |
The supported orientations mask (portrait and portrait-upside-down).
UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskPortraitUpsideDown. | - (UITableViewCell *) tableView: | (nonnull UITableView *) | tableView | |
| cellForRowAtIndexPath: | (nonnull NSIndexPath *) | indexPath |
Dequeues and configures the cell for a row, keyed on the row's cell-style number.
| tableView | The table view requesting the cell. |
| indexPath | The row's index path. |
| - (void) tableView: | (nonnull UITableView *) | tableView | |
| didSelectRowAtIndexPath: | (nonnull NSIndexPath *) | indexPath |
Routes a tapped row to its sub-settings controller (or the delete-sequence alert).
| tableView | The table view. |
| indexPath | The tapped row's index path. |
| - (NSInteger) tableView: | (nonnull UITableView *) | tableView | |
| numberOfRowsInSection: | (NSInteger) | section |
Returns the number of rows in a section, which is menuTable[section].count.
| tableView | The table view. |
| section | The section index. |
| - (void) viewDidAppear: | (BOOL) | animated |
Standard appearance forward.
| animated | Whether the appearance is animated. |
| - (void) viewDidDisappear: | (BOOL) | animated |
Standard disappearance forward.
| animated | Whether the disappearance is animated. |
| - (void) viewDidLoad |
Disables exclusive-touch propagation issues by enabling exclusive touch on the navigation bar and each of its subviews.
| - (void) viewDidUnload |
Releases the combo switch on unload.
| - (void) viewWillAppear: | (BOOL) | animated |
Deselects any selected row and reloads the theme, Twitter, and rating-chip rows so their detail text refreshes.
| animated | Whether the appearance is animated. |
| - (void) viewWillDisappear: | (BOOL) | animated |
Standard disappearance forward.
| animated | Whether the disappearance is animated. |
|
readwritenonatomicweak |
The object forwarded to sub-controllers that need to notify the settings owner (for example the rating-chip picker and the notification page).
Held weakly.
|
readwritenonatomicstrong |
The switch hosted in the "show combos" row, toggling the combo display.