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

A modal preview of the composed Twitter-share image (frame plus accessory) that doubles as the frame-select view's delegate. More...

#include <SettingsTwCustomViewController.h>

Inheritance diagram for SettingsTwCustomViewController:
Collaboration diagram for SettingsTwCustomViewController:

Instance Methods

(instancetype) - init
 Builds the navigation item, the frame table of selectable themes, and seeds the selected frame default when none is stored.
(void) - loadView
 Builds the preview: a dimmed backdrop, the frame sample image scaled to the device, and the accessory image composited over it.
(void) - frameChange:
 Sent by the frame-select view while the user drags across rows: previews the frame without persisting it, restoring the stored frame afterwards.
(void) - frameSelected:
 Sent by the frame-select view when a row is chosen: previews the frame and then persists it as the selected frame.
(void) - viewWillAppear:
 Chains to the superclass.
(void) - viewDidAppear:
 Chains to the superclass.
(void) - viewWillDisappear:
 Chains to the superclass, then flushes the user defaults so the frame choice is saved.
(void) - viewDidDisappear:
 Chains to the superclass.
(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.
Instance Methods inherited from <SettingsTwFrameSelectViewDelegate>
(void) - refreshAccessory
 Sent when a locked row's purchase alert is cancelled, so the owner can refresh its state.

Detailed Description

A modal preview of the composed Twitter-share image (frame plus accessory) that doubles as the frame-select view's delegate.

Method Documentation

◆ frameChange:

- (void) frameChange: (nullable NSString *) identifier

Sent by the frame-select view while the user drags across rows: previews the frame without persisting it, restoring the stored frame afterwards.

Parameters
identifierThe highlighted frame's identifier.
Ghidra address:
0x1c53b0

Reimplemented from <SettingsTwFrameSelectViewDelegate>.

◆ frameSelected:

- (void) frameSelected: (nullable NSString *) identifier

Sent by the frame-select view when a row is chosen: previews the frame and then persists it as the selected frame.

Parameters
identifierThe chosen frame's identifier.
Ghidra address:
0x1c5494

Reimplemented from <SettingsTwFrameSelectViewDelegate>.

◆ init

- (instancetype) init

Builds the navigation item, the frame table of selectable themes, and seeds the selected frame default when none is stored.

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

◆ loadView

- (void) loadView

Builds the preview: a dimmed backdrop, the frame sample image scaled to the device, and the accessory image composited over it.

Ghidra address:
0x1c4cc4

◆ shouldAutorotate

- (BOOL) shouldAutorotate

Whether the controller should autorotate.

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

◆ 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:
0x1c5640
Ghidra address:
0x1c5640

◆ supportedInterfaceOrientations

- (UIInterfaceOrientationMask) supportedInterfaceOrientations

The supported interface orientations (portrait mask).

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

◆ viewDidAppear:

- (void) viewDidAppear: (BOOL) animated

Chains to the superclass.

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

◆ viewDidDisappear:

- (void) viewDidDisappear: (BOOL) animated

Chains to the superclass.

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

◆ viewWillAppear:

- (void) viewWillAppear: (BOOL) animated

Chains to the superclass.

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

◆ viewWillDisappear:

- (void) viewWillDisappear: (BOOL) animated

Chains to the superclass, then flushes the user defaults so the frame choice is saved.

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

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