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

A modal, paged frame-select gallery for the Twitter-share background frame. More...

#include <SettingsTwSelectViewController.h>

Inheritance diagram for SettingsTwSelectViewController:
Collaboration diagram for SettingsTwSelectViewController:

Instance Methods

(CGRect) - makeRect:
 Scales a rect's every component by the device scale fScale .
(instancetype) - init
 Builds the navigation title and the working frame table, seeding the current page from the stored selected-frame default.
(void) - loadView
 Builds the whole gallery: the background image, the header label, the reward-check button, the paged scroll view of frame samples, the page control, the two scroll arrows, and the selection-cursor markers.
(void) - scrollBtnAlphaControll
 Fades the two scroll arrows in and out with the scroll offset.
(void) - scrollCursorControll
 Updates the selection-cursor markers: their alpha, their rotation, and (when settled on a page) their per-slot lock visibility.
(nullable NSMutableArray *) - getSelectedFrame
 The frame row whose identifier (element 1) matches the stored selected-frame default.
(void) - refreshLockImage
 Refreshes the per-slot lock images.
(void) - pushBtnReward:
 Pushes the reward view controller when a navigation controller is present.
(void) - pushBtnRewardCheck:
 Reward-check button action.
(void) - scrollChange:
 Scroll-arrow action: steps the current page one left or one right (by the arrow's tag) and animates the scroll view to that page.
(BOOL) - isUnlockFrame:
 Whether the frame with the given identifier is unlocked.
(BOOL) - isUnlockFrameWithSlot:
 Whether the frame in a given slot is unlocked.
(void) - rewardCheckEnd:
 RewardCheckDelegate callback.
(void) - successIDDownload:
 EditorIDManagerDelegate success callback: releases the manager.
(void) - errorIDDownload:msgStr:
 EditorIDManagerDelegate error callback: releases the manager.
(void) - itemDisp:
 Stops and removes the loading indicator, then fades the selection markers back to full opacity.
(void) - viewWillAppear:
 Chains to the superclass.
(void) - viewDidAppear:
 Chains to the superclass.
(void) - viewWillDisappear:
 Chains to the superclass, then persists the current frame if unlocked, closes any alert, and flushes the user defaults.
(void) - viewDidDisappear:
 Chains to the superclass.
(void) - scrollViewDidScroll:
 UIScrollViewDelegate scroll callback: recomputes the current page from the offset, updates the page control, and refreshes the arrow alpha and the selection cursor.
(BOOL) - shouldAutorotateToInterfaceOrientation:
 Whether the controller may rotate to an interface orientation (portrait orientations only).
(UIInterfaceOrientationMask) - supportedInterfaceOrientations
 The supported interface orientations (portrait mask).
(BOOL) - shouldAutorotate
 Whether the controller should autorotate.
(void) - dealloc
 Chains to the superclass.
Instance Methods inherited from <RewardCheckDelegate>
(void) - rewardCheckEnd:
 Sent when the reward check finishes (successfully or not).

Detailed Description

A modal, paged frame-select gallery for the Twitter-share background frame.

Method Documentation

◆ dealloc

- (void) dealloc

Chains to the superclass.

Ghidra address:
0x7e1b4

◆ errorIDDownload:msgStr:

- (void) errorIDDownload: (nullable id) manager
msgStr: (nullable NSString *) msgStr 

EditorIDManagerDelegate error callback: releases the manager.

Parameters
managerThe manager that failed.
msgStrThe server-supplied message, or nil.
Ghidra address:
0x7db98

Reimplemented from <EditorIDManagerDelegate>.

◆ getSelectedFrame

- (NSMutableArray *) getSelectedFrame

The frame row whose identifier (element 1) matches the stored selected-frame default.

Returns
The matching row, or nil when none matches.
Ghidra address:
0x7d668
Ghidra address:
0x7d668

◆ init

- (instancetype) init

Builds the navigation title and the working frame table, seeding the current page from the stored selected-frame default.

Returns
The initialised controller.
Ghidra address:
0x7b890
Ghidra address:
0x7b890

◆ isUnlockFrame:

- (BOOL) isUnlockFrame: (nullable NSString *) identifier

Whether the frame with the given identifier is unlocked.

Parameters
identifierThe frame identifier to test against each row's element 1.
Returns
The slot's unlock state, or NO when no row matches.
Ghidra address:
0x7da58

◆ isUnlockFrameWithSlot:

- (BOOL) isUnlockFrameWithSlot: (int) slot

Whether the frame in a given slot is unlocked.

Always YES in the shipped build.

Parameters
slotThe frame slot index.
Returns
Always YES .
Ghidra address:
0x7db74
Ghidra address:
0x7db74

◆ itemDisp:

- (void) itemDisp: (BOOL) animated

Stops and removes the loading indicator, then fades the selection markers back to full opacity.

Parameters
animatedWhether the indicator's stop is animated.
Ghidra address:
0x7dbb0
Ghidra address:
0x7dbb0
Ghidra address:
0x7dcd4
Ghidra address:
0x7de44

◆ loadView

- (void) loadView

Builds the whole gallery: the background image, the header label, the reward-check button, the paged scroll view of frame samples, the page control, the two scroll arrows, and the selection-cursor markers.

Ghidra address:
0x7be5c

◆ makeRect:

- (CGRect) makeRect: (CGRect) rect

Scales a rect's every component by the device scale fScale .

Parameters
rectThe unscaled rect.
Returns
The scaled rect.
Ghidra address:
0x7b86c
Ghidra address:
0x7b86c

◆ pushBtnReward:

- (void) pushBtnReward: (nullable id) sender

Pushes the reward view controller when a navigation controller is present.

Parameters
senderThe tapping control.
Ghidra address:
0x7d844

◆ pushBtnRewardCheck:

- (void) pushBtnRewardCheck: (nullable id) sender

Reward-check button action.

The shipped body is empty.

Parameters
senderThe tapping control.
Ghidra address:
0x7d8f8

◆ refreshLockImage

- (void) refreshLockImage

Refreshes the per-slot lock images.

The shipped body is empty.

Ghidra address:
0x7d840
Ghidra address:
0x7d840

◆ rewardCheckEnd:

- (void) rewardCheckEnd: (nullable id) rewardCheck

RewardCheckDelegate callback.

The shipped body is empty.

Parameters
rewardCheckThe reward checker that finished.
Ghidra address:
0x7db7c

◆ scrollBtnAlphaControll

- (void) scrollBtnAlphaControll

Fades the two scroll arrows in and out with the scroll offset.

The misspelling Controll is preserved from the binary.

Ghidra address:
0x7d0c0
Ghidra address:
0x7d0c0

◆ scrollChange:

- (void) scrollChange: (nullable id) sender

Scroll-arrow action: steps the current page one left or one right (by the arrow's tag) and animates the scroll view to that page.

Parameters
senderThe tapped arrow button.
Ghidra address:
0x7d8fc

◆ scrollCursorControll

- (void) scrollCursorControll

Updates the selection-cursor markers: their alpha, their rotation, and (when settled on a page) their per-slot lock visibility.

The misspelling Controll is preserved from the binary.

Ghidra address:
0x7d18c
Ghidra address:
0x7d18c

◆ scrollViewDidScroll:

- (void) scrollViewDidScroll: (nonnull UIScrollView *) scrollView

UIScrollViewDelegate scroll callback: recomputes the current page from the offset, updates the page control, and refreshes the arrow alpha and the selection cursor.

Parameters
scrollViewThe scrolling view.
Ghidra address:
0x7e0c0

◆ shouldAutorotate

- (BOOL) shouldAutorotate

Whether the controller should autorotate.

Returns
Always YES .
Ghidra address:
0x7e1ac
Ghidra address:
0x7e1ac

◆ shouldAutorotateToInterfaceOrientation:

- (BOOL) shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation) interfaceOrientation

Whether the controller may rotate to an interface orientation (portrait orientations only).

Parameters
interfaceOrientationThe candidate orientation.
Returns
YES for portrait and portrait-upside-down.
Ghidra address:
0x7e194
Ghidra address:
0x7e194

◆ successIDDownload:

- (void) successIDDownload: (nullable id) manager

EditorIDManagerDelegate success callback: releases the manager.

Parameters
managerThe manager that finished.
Ghidra address:
0x7db80

Reimplemented from <EditorIDManagerDelegate>.

◆ supportedInterfaceOrientations

- (UIInterfaceOrientationMask) supportedInterfaceOrientations

The supported interface orientations (portrait mask).

Returns
UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskPortraitUpsideDown .
Ghidra address:
0x7e1a4
Ghidra address:
0x7e1a4

◆ viewDidAppear:

- (void) viewDidAppear: (BOOL) animated

Chains to the superclass.

Parameters
animatedWhether the appearance is animated.
Ghidra address:
0x7de80
Ghidra address:
0x7de80

◆ viewDidDisappear:

- (void) viewDidDisappear: (BOOL) animated

Chains to the superclass.

Parameters
animatedWhether the disappearance is animated.
Ghidra address:
0x7e088
Ghidra address:
0x7e088

◆ viewWillAppear:

- (void) viewWillAppear: (BOOL) animated

Chains to the superclass.

Parameters
animatedWhether the appearance is animated.
Ghidra address:
0x7de48
Ghidra address:
0x7de48

◆ viewWillDisappear:

- (void) viewWillDisappear: (BOOL) animated

Chains to the superclass, then persists the current frame if unlocked, closes any alert, and flushes the user defaults.

Parameters
animatedWhether the disappearance is animated.
Ghidra address:
0x7deb8
Ghidra address:
0x7deb8

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