A rounded plate that carries one StoreLeafletCell and forwards its open request on to an owner.
More...
#include <StoreLeafletView.h>
|
| id | aDelegate |
| | The object told to open a pack's detail screen.
|
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).
◆ initWithFrame:
| - (instancetype) initWithFrame: |
|
(CGRect) | frame |
|
Builds the plate and its single leaflet cell.
- Parameters
-
- Returns
- The initialised view.
- Ghidra address:
- 0x124844
- Ghidra address:
- 0x124844
◆ numberOfSectionsInTableView:
| - (NSInteger) numberOfSectionsInTableView: |
|
(UITableView *) | tableView |
|
The number of sections in the table.
- Parameters
-
- 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
-
- Ghidra address:
- 0x124b74
◆ scrollViewDidScroll:
| - (void) scrollViewDidScroll: |
|
(UIScrollView *) | scrollView |
|
Scroll callback.
The shipped body is empty (a single ret ), so the view ignores scrolling.
- Parameters
-
| scrollView | The 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
-
| tableView | The table view. |
| indexPath | The 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
-
| tableView | Ignored. |
| indexPath | Ignored. |
- Ghidra address:
- 0x124b6c
- Ghidra address:
- 0x124b6c
◆ tableView:heightForRowAtIndexPath:
| - (CGFloat) tableView: |
|
(UITableView *) | tableView |
| heightForRowAtIndexPath: |
|
(NSIndexPath *) | indexPath |
The height for a row.
- Parameters
-
| tableView | The table view. |
| indexPath | The 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
-
| tableView | The table view. |
| section | The 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
-
| tableView | Ignored. |
| cell | Ignored. |
| indexPath | Ignored. |
- Ghidra address:
- 0x124b68
- Ghidra address:
- 0x124b68
◆ aDelegate
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: