JubeatPlus 3.9.11
Loading...
Searching...
No Matches
ChallengeLineupViewCell.h
Go to the documentation of this file.
1
15
16#import <UIKit/UIKit.h>
17
18NS_ASSUME_NONNULL_BEGIN
19
30
34@protocol ChallengeLineupViewCellDelegate <NSObject>
35@optional
40- (void)tapStoreBtn:(id)cell;
41@end
42
46@interface ChallengeLineupViewCell : UITableViewCell
47
54@property(nonatomic, weak) id aDelegate;
55
66- (instancetype)initWithStyle:(UITableViewCellStyle)style
67 reuseIdentifier:(nullable NSString *)reuseIdentifier;
68
80- (void)setLineupCell:(nullable UIImage *)lineupCell
81 name:(nullable NSString *)name
82 bgImg:(nullable UIImage *)bgImg
83 storeType:(int)storeType;
84
92- (void)tapStoreMove;
93
94@end
95
96NS_ASSUME_NONNULL_END
97
98// code: language=Objective-C
99// kate: hl Objective-C;
100// vim: set ft=objc :
ChallengeLineupStoreType
How a store type maps onto the button's state.
Definition ChallengeLineupViewCell.h:26
@ ChallengeLineupStoreTypeAvailable
Button shown and tappable.
Definition ChallengeLineupViewCell.h:27
@ ChallengeLineupStoreTypeOwned
Button shown but disabled.
Definition ChallengeLineupViewCell.h:28
A lineup row: a plate, a square artwork, a name, and on the pad a store button.
Definition ChallengeLineupViewCell.h:47
void tapStoreMove()
The store button's action.
Definition ChallengeLineupViewCell.m:116
id aDelegate
The object told when the store button is tapped.
Definition ChallengeLineupViewCell.h:54