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

A modal social-target picker over a dimmed gradient board. More...

#include <SocialSendSelectView.h>

Inheritance diagram for SocialSendSelectView:
Collaboration diagram for SocialSendSelectView:

Instance Methods

(void) - createStoreBtn:
 Builds a discardable store-style button.
(instancetype) - initWithMessage:delegate:
 Builds the whole modal: the gradient board, its title, the target table with its inner shadow, and the OK/Cancel buttons.
(void) - pushOK:
 OK button action: forwards the chosen social type and message to the delegate.
(void) - pushCancel:
 Cancel button action: tells the delegate the panel was cancelled.

Class Methods

(Class) + layerClass
 Backs the view with a CAGradientLayer .

Detailed Description

A modal social-target picker over a dimmed gradient board.

Method Documentation

◆ createStoreBtn:

- (void) createStoreBtn: (nullable id) sender

Builds a discardable store-style button.

Builds a StoreButton at CGRectZero , tints it the shared blue-green, rounds and fonts it, then throws it away: it is never stored nor added to any view. The argument is ignored.

Parameters
senderIgnored.
Ghidra address:
0x1bf17c

◆ initWithMessage:delegate:

- (instancetype) initWithMessage: (nullable NSString *) message
delegate: (nullable id< SocialSendSelectViewDelegate >) delegate 

Builds the whole modal: the gradient board, its title, the target table with its inner shadow, and the OK/Cancel buttons.

Parameters
messageThe message text handed back to the delegate when a target is chosen.
delegateThe object told when a target is chosen or the panel is cancelled.
Returns
The initialised panel.
Ghidra address:
0x1bf2b4

◆ layerClass

+ (Class) layerClass

Backs the view with a CAGradientLayer .

Returns
The CAGradientLayer class.
Ghidra address:
0x1bf168
Ghidra address:
0x1bf168

◆ pushCancel:

- (void) pushCancel: (nullable id) sender

Cancel button action: tells the delegate the panel was cancelled.

Parameters
senderThe Cancel button. Unused.
Ghidra address:
0x1c0174

◆ pushOK:

- (void) pushOK: (nullable id) sender

OK button action: forwards the chosen social type and message to the delegate.

Parameters
senderThe OK button. Unused.
Ghidra address:
0x1c00a0

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