JubeatPlus 3.9.11
Loading...
Searching...
No Matches
SettingsRatingChipViewController Class Reference

A view controller letting the player pick the rating-chip style in the settings screen. More...

#include <SettingsRatingChipViewController.h>

Inheritance diagram for SettingsRatingChipViewController:
Collaboration diagram for SettingsRatingChipViewController:

Instance Methods

(instancetype) - initWithStyle:
 Sets the navigation title to "RATING CHIP" and seeds the selection from the persisted rating-chip type.
(void) - loadView
 Loads the table view, setting its row height per idiom and hiding the separators.

Class Methods

(nonnull NSString *) + ratingChipType:
 Maps a rating-chip type index to its style name string.

Properties

id< SettingsRatingChipViewControllerDelegate > settingsDelegate
 The object refreshed when the picked rating-chip style changes.

Detailed Description

A view controller letting the player pick the rating-chip style in the settings screen.

Method Documentation

◆ initWithStyle:

- (instancetype) initWithStyle: (UITableViewStyle) style

Sets the navigation title to "RATING CHIP" and seeds the selection from the persisted rating-chip type.

Parameters
styleThe table-view style handed to UITableViewController.
Returns
The initialised controller.
Ghidra address:
0x9673c
Ghidra address:
0x9673c

◆ loadView

- (void) loadView

Loads the table view, setting its row height per idiom and hiding the separators.

Ghidra address:
0x96820

◆ ratingChipType:

+ (NSString *) ratingChipType: (NSUInteger) type

Maps a rating-chip type index to its style name string.

Parameters
typeThe rating-chip type (0 none, 1 played, 2 all); any other value yields the empty string.
Returns
The style name, or the empty string when type is out of range.
Ghidra address:
0x966cc
Ghidra address:
0x966cc

Property Documentation

◆ settingsDelegate

- (id<SettingsRatingChipViewControllerDelegate>) settingsDelegate
readwritenonatomicweak

The object refreshed when the picked rating-chip style changes.

Held weakly and backed by _settingsDelegate.

Ghidra address:
0x973bc (getter)
Ghidra address:
0x973dc (setter)

The documentation for this class was generated from the following files: