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

A single-line name-entry field paired with a commit button, clamping the entry to at most 20 characters and reporting the committed text to its delegate. More...

#include <ChallengeTextInputView.h>

Inheritance diagram for ChallengeTextInputView:
Collaboration diagram for ChallengeTextInputView:

Instance Methods

(void) - resetView
 Clears the field text, the backed-up text, and the button image.
(void) - setDefaultText:
 Sets the field's text and backs it up as the current input.
(BOOL) - isPictText:
 Whether a string round-trips to empty through Shift-JIS, meaning it is purely pictographic.

Properties

UITextField * nameBox
 The name-entry text field.
UIButton * changeBtn
 The commit button.
id< ChallengeTextInputViewDelegate > aDelegate
 The delegate told when the entry is committed.
NSString * inputText
 The last backed-up field text, clamped to 20 characters.

Detailed Description

A single-line name-entry field paired with a commit button, clamping the entry to at most 20 characters and reporting the committed text to its delegate.

Method Documentation

◆ isPictText:

- (BOOL) isPictText: (nullable NSString *) text

Whether a string round-trips to empty through Shift-JIS, meaning it is purely pictographic.

Parameters
textThe string to test.
Returns
YES when the Shift-JIS round-trip is empty.
Ghidra address:
0x94514

◆ resetView

- (void) resetView

Clears the field text, the backed-up text, and the button image.

Ghidra address:
0x9415c

◆ setDefaultText:

- (void) setDefaultText: (nullable NSString *) text

Sets the field's text and backs it up as the current input.

Parameters
textThe text to show.
Ghidra address:
0x941e4

Property Documentation

◆ aDelegate

- (id<ChallengeTextInputViewDelegate>) aDelegate
readwritenonatomicweak

The delegate told when the entry is committed.

Held weakly.

Ghidra address:
0x948d0 (getter), 0x948f0 (setter)

◆ changeBtn

- (UIButton*) changeBtn
readwritenonatomicstrong

The commit button.

Ghidra address:
0x948ac (getter)

◆ inputText

- (NSString*) inputText
readnonatomicassign

The last backed-up field text, clamped to 20 characters.

Ghidra address:
0x94904 (getter)

◆ nameBox

- (UITextField*) nameBox
readwritenonatomicstrong

The name-entry text field.

Ghidra address:
0x94888 (getter)

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