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

A tappable tile showing one pack's artwork, name, comment, price, and status markers. More...

#include <StorePackView.h>

Inheritance diagram for StorePackView:
Collaboration diagram for StorePackView:

Instance Methods

(instancetype) - initWithFrame:
 Builds the tile's seven subviews.
(void) - setBgImage:
 Sets the tile's background image.
(void) - handleTap:
 The tap handler: tells the delegate the tile was selected.
(void) - loadPackInfo:index:
 Fills the tile's labels and markers from a pack's info.

Properties

id delegate
 The object told when the tile is tapped.
UIImageView * artworkView
 The tile's artwork view.
NSUInteger index
 The tile's position in the pack list, as last given to -loadPackInfo:index: .

Detailed Description

A tappable tile showing one pack's artwork, name, comment, price, and status markers.

Method Documentation

◆ handleTap:

- (void) handleTap: (nonnull UITapGestureRecognizer *) recognizer

The tap handler: tells the delegate the tile was selected.

Parameters
recognizerThe tap recogniser.
Ghidra address:
0xca9fc

◆ initWithFrame:

- (instancetype) initWithFrame: (CGRect) frame

Builds the tile's seven subviews.

Parameters
frameThe tile's frame.
Returns
The initialised tile.
Ghidra address:
0xc9dd0
Ghidra address:
0xc9dd0

◆ loadPackInfo:index:

- (void) loadPackInfo: (nullable StorePackInfo *) packInfo
index: (NSUInteger) index 

Fills the tile's labels and markers from a pack's info.

Parameters
packInfoThe pack to display.
indexThe tile's position in the pack list.
Ghidra address:
0xcaab0

◆ setBgImage:

- (void) setBgImage: (nullable UIImage *) image

Sets the tile's background image.

Parameters
imageThe background image.
Ghidra address:
0xca9e4

Property Documentation

◆ artworkView

- (UIImageView*) artworkView
readwritenonatomicstrong

The tile's artwork view.

Ghidra address:
0xcad30 (getter)

◆ delegate

- (id) delegate
readwritenonatomicweak

The object told when the tile is tapped.

Weak and untyped in the metadata, so the dispatch goes through -respondsToSelector: rather than a declared conformance. StoreTableCell nils this in its -dealloc.

◆ index

- (NSUInteger) index
readnonatomicassign

The tile's position in the pack list, as last given to -loadPackInfo:index: .

Ghidra address:
0xcad20 (getter)

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