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

A rounded plate that carries one StoreLeafletCell and forwards its open request on to an owner. More...

#include <StoreLeafletView.h>

Inheritance diagram for StoreLeafletView:
Collaboration diagram for StoreLeafletView:

Instance Methods

(instancetype) - initWithFrame:
 Builds the plate and its single leaflet cell.
(NSInteger) - numPackRows
 The number of pack rows the table would show.
(UITableViewCell *) - tableView:cellForRowAtIndexPath:
 Would vend a row cell.
(NSInteger) - numberOfSectionsInTableView:
 The number of sections in the table.
(NSInteger) - tableView:numberOfRowsInSection:
 The number of rows in a section, which is numPackRows.
(CGFloat) - tableView:heightForRowAtIndexPath:
 The height for a row.
(void) - tableView:willDisplayCell:forRowAtIndexPath:
 Inert.
(void) - tableView:didSelectRowAtIndexPath:
 Inert.
(void) - scrollViewDidScroll:
 Scroll callback.
(void) - pushOpenDetail:
 Asks aDelegate to open a pack's detail screen, if it responds.
Instance Methods inherited from <StoreLeafletCellDelegate>
(void) - pushOpenDetail:
 Asks the owner to open a pack's detail screen.

Properties

id aDelegate
 The object told to open a pack's detail screen.

Detailed Description

A rounded plate that carries one StoreLeafletCell and forwards its open request on to an owner.

Conforms to the table data-source and delegate protocols for a table it never actually feeds, to UIScrollViewDelegate, and to StoreLeafletCellDelegate (it is set as the leaflet cell's aDelegate).

Method Documentation

◆ initWithFrame:

- (instancetype) initWithFrame: (CGRect) frame

Builds the plate and its single leaflet cell.

Parameters
frameThe view's frame.
Returns
The initialised view.
Ghidra address:
0x124844
Ghidra address:
0x124844

◆ numberOfSectionsInTableView:

- (NSInteger) numberOfSectionsInTableView: (UITableView *) tableView

The number of sections in the table.

Parameters
tableViewThe table view.
Returns
One.
Ghidra address:
0x124ad0
Ghidra address:
0x124ad0

◆ numPackRows

- (NSInteger) numPackRows

The number of pack rows the table would show.

Always 0 as shipped.

Returns
Zero.
Ghidra address:
0x124ac0
Ghidra address:
0x124ac0

◆ pushOpenDetail:

- (void) pushOpenDetail: (nullable id) packID

Asks aDelegate to open a pack's detail screen, if it responds.

Parameters
packIDThe pack to open.
Ghidra address:
0x124b74

◆ scrollViewDidScroll:

- (void) scrollViewDidScroll: (UIScrollView *) scrollView

Scroll callback.

The shipped body is empty (a single ret ), so the view ignores scrolling.

Parameters
scrollViewThe scrolling view.
Ghidra address:
0x124b70
Ghidra address:
0x124b70

◆ tableView:cellForRowAtIndexPath:

- (UITableViewCell *) tableView: (UITableView *) tableView
cellForRowAtIndexPath: (NSIndexPath *) indexPath 

Would vend a row cell.

Unreachable because numPackRows is 0.

Parameters
tableViewThe table view.
indexPathThe row's index path.
Returns
nil.
Ghidra address:
0x124ac8
Ghidra address:
0x124ac8

◆ tableView:didSelectRowAtIndexPath:

- (void) tableView: (UITableView *) tableView
didSelectRowAtIndexPath: (NSIndexPath *) indexPath 

Inert.

The body is a single ret .

Parameters
tableViewIgnored.
indexPathIgnored.
Ghidra address:
0x124b6c
Ghidra address:
0x124b6c

◆ tableView:heightForRowAtIndexPath:

- (CGFloat) tableView: (UITableView *) tableView
heightForRowAtIndexPath: (NSIndexPath *) indexPath 

The height for a row.

Parameters
tableViewThe table view.
indexPathThe row's index path.
Returns
The valid-row height when the row index is below numPackRows, otherwise the placeholder height; the valid-row height differs between pad and phone.
Ghidra address:
0x124ae4
Ghidra address:
0x124ae4

◆ tableView:numberOfRowsInSection:

- (NSInteger) tableView: (UITableView *) tableView
numberOfRowsInSection: (NSInteger) section 

The number of rows in a section, which is numPackRows.

Parameters
tableViewThe table view.
sectionThe section index.
Returns
numPackRows .
Ghidra address:
0x124ad8
Ghidra address:
0x124ad8

◆ tableView:willDisplayCell:forRowAtIndexPath:

- (void) tableView: (UITableView *) tableView
willDisplayCell: (UITableViewCell *) cell
forRowAtIndexPath: (NSIndexPath *) indexPath 

Inert.

The body is a single ret .

Parameters
tableViewIgnored.
cellIgnored.
indexPathIgnored.
Ghidra address:
0x124b68
Ghidra address:
0x124b68

Property Documentation

◆ aDelegate

- (id) aDelegate
readwritenonatomicweak

The object told to open a pack's detail screen.

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


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