|
JubeatPlus 3.9.11
|
A row showing a mission sheet's icon, title and period over a background image. More...
#include <ChallengeMissionListCell.h>


Instance Methods | |
| (instancetype) | - initWithStyle:reuseIdentifier: |
| Makes the row transparent and unhighlightable. | |
| (void) | - setBgImage: |
| Sets the row's background, creating the background view at the image's own size. | |
| (void) | - setTitle:period: |
| Sets the row's two lines of text, creating the labels on the first call. | |
| (void) | - setIconImage:selectedImage: |
| Sets the row's icon and whether the row is marked as chosen. | |
A row showing a mission sheet's icon, title and period over a background image.
| - (instancetype) initWithStyle: | (UITableViewCellStyle) | style | |
| reuseIdentifier: | (nullable NSString *) | reuseIdentifier |
Makes the row transparent and unhighlightable.
No subview is created here.
| style | The cell style. |
| reuseIdentifier | The reuse identifier. |
| - (void) setBgImage: | (nullable UIImage *) | bgImg |
Sets the row's background, creating the background view at the image's own size.
Must be called before the other two setters; both return early without it.
| bgImg | The background. |
| - (void) setIconImage: | (nullable UIImage *) | iconImg | |
| selectedImage: | (BOOL) | selectedImage |
Sets the row's icon and whether the row is marked as chosen.
The chosen state is a border on the background, not on the icon. Does nothing if the background view does not exist yet.
| iconImg | The icon. The icon view is only created when this is non-nil. |
| selectedImage | Whether to draw the chosen border. Despite the name this is a flag, not an image — the metadata types it B . |
| - (void) setTitle: | (nullable NSString *) | title | |
| period: | (nullable NSString *) | period |
Sets the row's two lines of text, creating the labels on the first call.
With a period the two labels straddle the background's vertical centre; without one the title sits on it. Does nothing if the background view does not exist yet.
| title | The sheet's name. |
| period | The sheet's run of dates, or nil for a single centred line. |