|
JubeatPlus 3.9.11
|
A cell showing an accessory's icon, name, unlock cost, and a lock overlay. More...
#include <accessoryTableCell.h>


Instance Methods | |
| (instancetype) | - initWithWidth: |
| Builds the row's subviews, laid out against the table's width. | |
| (void) | - setInfo: |
| Fills the row in from a four-element array. | |
A cell showing an accessory's icon, name, unlock cost, and a lock overlay.
It has no properties: the four subviews are plain ivars, declared in the implementation.
| - (instancetype) initWithWidth: | (int) | width |
Builds the row's subviews, laid out against the table's width.
The width is not stored; it is only used to place the three right-hand subviews, so the layout is fixed at construction and does not follow a later resize.
| width | The table's width in points. |
| - (void) setInfo: | (NSArray *) | info |
Fills the row in from a four-element array.
The array is positional, and only three of its four elements are read: element 1 is the name, element 2 the icon's base file name, and element 3 the cost. Element 0 is never touched.
| info | The row's fields, in order. |