|
JubeatPlus 3.9.11
|
A table view controller listing difficulty levels for filtering a music playlist. More...
#include <MusicPlaylistLevelSelector.h>


Instance Methods | |
| (instancetype) | - init |
| Sets the navigation title, installs a Cancel back button, and builds the level counts. | |
| (void) | - loadView |
| Loads the view by chaining up to the superclass. | |
| (void) | - createNumberArray |
Builds numArray : the number of charts found at each of the ten levels. | |
| (nullable NSDictionary *) | - getTuneInfo: |
Decodes a tune archive at path into its info dictionary. | |
Properties | |
| id< MusicPlaylistLevelSelectorDelegate > | delegate |
| The object told which level the user picks. | |
A table view controller listing difficulty levels for filtering a music playlist.
| - (void) createNumberArray |
Builds numArray : the number of charts found at each of the ten levels.
Scans the built-in tunes and the purchased tunes, decoding each archive's info dictionary into a TuneInfo , then tallies, for every level one through ten, how many distinct charts (basic, advanced, and extreme, counting a repeated level only once) sit at that level. The purchased scan caches each tune's info keyed by identifier alongside its file size and modification date, so an unchanged file is not decoded again.
| - (nullable NSDictionary *) getTuneInfo: | (nullable NSString *) | path |
Decodes a tune archive at path into its info dictionary.
Opens the archive skipping its sixteen-byte digest trailer and tries the entries newest-first: an infov3 entry is deciphered with the tune-info key and stripped of its four-byte header, while an infov2 or info entry is deciphered with the BGM key and used whole.
| path | The archive's path. |
nil if the archive cannot be opened or holds no info entry. | - (instancetype) init |
Sets the navigation title, installs a Cancel back button, and builds the level counts.
| - (void) loadView |
Loads the view by chaining up to the superclass.
|
readwritenonatomicweak |
The object told which level the user picks.
Held weakly.