JubeatPlus 3.9.11
Loading...
Searching...
No Matches
StoreCampaignTableViewCell.h
Go to the documentation of this file.
1
9
10#import <UIKit/UIKit.h>
11
12#import "StoreImageView.h"
13
14NS_ASSUME_NONNULL_BEGIN
15
19@interface StoreCampaignTableViewCell : UITableViewCell
20
22@property(nonatomic, strong, nullable) StoreImageView *artworkView;
23
29@property(nonatomic, weak, nullable) id ctrlDelegate;
30
32@property(nonatomic, readonly) int campaignID;
33
40+ (CGFloat)cellHeight:(BOOL)isPad;
41
50- (instancetype)initWithDeviceType:(BOOL)isPad
51 reuseIdentifier:(nullable NSString *)reuseIdentifier
52 tag:(int)tag;
53
60- (void)setInfo:(nullable id)info tag:(int)tag;
61
67- (CGSize)getArtworkMargin:(BOOL)isPad;
68
74- (CGSize)getItemSize:(BOOL)isPad;
75
76@end
77
78NS_ASSUME_NONNULL_END
79
80// code: language=Objective-C
81// kate: hl Objective-C;
82// vim: set ft=objc :
An image view that fetches its own artwork over HTTP.
A table cell showing one campaign's artwork banner.
Definition StoreCampaignTableViewCell.h:20
id ctrlDelegate
The controller told when the cell is tapped.
Definition StoreCampaignTableViewCell.h:29
int campaignID
The displayed campaign's identifier.
Definition StoreCampaignTableViewCell.h:32
StoreImageView * artworkView
The campaign artwork view.
Definition StoreCampaignTableViewCell.h:22
An image view that loads itself from imageURL on demand.
Definition StoreImageView.h:24