A view controller letting the player pick the game theme in the settings screen.
More...
#include <SettingsThemeViewController.h>
|
| (instancetype) | - initWithStyle: |
| | Sets the navigation title to "THEME", builds the "Change Theme" commit button disabled, and seeds the selection from the theme currently in effect.
|
| (void) | - buttonCommitChange: |
| | Commits the picked theme by handing it to -[JubeatAppDelegate changeTheme:].
|
| (void) | - loadView |
| | Loads the table view and sets its row height to 42 points.
|
|
| UIBarButtonItem * | changeBarBtn |
| | The navigation-bar button that commits the picked theme.
|
A view controller letting the player pick the game theme in the settings screen.
◆ buttonCommitChange:
| - (void) buttonCommitChange: |
|
(nullable id) | sender |
|
Commits the picked theme by handing it to -[JubeatAppDelegate changeTheme:].
- Parameters
-
| sender | The bar-button item that fired the action. |
- Ghidra address:
- 0x1443b4
◆ initWithStyle:
| - (instancetype) initWithStyle: |
|
(UITableViewStyle) | style |
|
Sets the navigation title to "THEME", builds the "Change Theme" commit button disabled, and seeds the selection from the theme currently in effect.
- Parameters
-
| style | The table-view style handed to UITableViewController. |
- Returns
- The initialised controller.
- Ghidra address:
- 0x144198
- Ghidra address:
- 0x144198
◆ loadView
Loads the table view and sets its row height to 42 points.
- Ghidra address:
- 0x14440c
◆ changeBarBtn
| - (UIBarButtonItem*) changeBarBtn |
|
readwritenonatomicstrong |
The navigation-bar button that commits the picked theme.
Backed by _changeBarBtn. Created in -initWithStyle:, wired to -buttonCommitChange:, and left disabled until the player selects a theme other than the one currently in effect.
- Ghidra address:
- 0x1449c4 (getter)
- Ghidra address:
- 0x1449d4 (setter)
The documentation for this class was generated from the following files: