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

A table of list rows over a background plate with a title and a close button. More...

#include <ChallengeListView.h>

Inheritance diagram for ChallengeListView:
Collaboration diagram for ChallengeListView:

Instance Methods

(instancetype) - initWithFrame:listPosY:
 Builds the list view and its chrome.
(void) - setTitleImage:animation:
 Sets the title image.
(void) - setSubListArray:
 Sets the optional detail-text sub-list, run in parallel with the main list.
(void) - setListArray:
 Sets the main list rows, clears any pickup, and reloads the table.
(void) - pickUpCell:
 Marks the row at the given index as picked up and scrolls it into a cell.

Properties

id< ChallengeListViewDelegate > aDelegate
 The delegate told about close and selection events.

Detailed Description

A table of list rows over a background plate with a title and a close button.

Rows alternate their plate art, with a distinct plate for the picked-up row, and an optional detail-text sub-list runs in parallel with the main list.

Method Documentation

◆ initWithFrame:listPosY:

- (instancetype) initWithFrame: (CGRect) frame
listPosY: (int) listPosY 

Builds the list view and its chrome.

Parameters
frameThe view's frame.
listPosYAn extra offset added to the table's y position.
Returns
The initialised view.
Ghidra address:
0x208b30
Ghidra address:
0x208b30

◆ pickUpCell:

- (void) pickUpCell: (int) slot

Marks the row at the given index as picked up and scrolls it into a cell.

Parameters
slotThe row index to pick up.
Ghidra address:
0x209268
Ghidra address:
0x209268

◆ setListArray:

- (void) setListArray: (nullable NSArray *) listArray

Sets the main list rows, clears any pickup, and reloads the table.

Parameters
listArrayThe row records.
Ghidra address:
0x209144

◆ setSubListArray:

- (void) setSubListArray: (nullable NSArray *) subListArray

Sets the optional detail-text sub-list, run in parallel with the main list.

Parameters
subListArrayThe detail strings.
Ghidra address:
0x209130

◆ setTitleImage:animation:

- (void) setTitleImage: (nullable UIImage *) image
animation: (BOOL) animation 

Sets the title image.

Parameters
imageThe title image.
animationWhether to cross-fade the image.
Ghidra address:
0x209118

Property Documentation

◆ aDelegate

- (id<ChallengeListViewDelegate>) aDelegate
readwritenonatomicweak

The delegate told about close and selection events.

Held weakly.

Ghidra address:
0x20975c (getter), 0x20977c (setter)

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