JubeatPlus 3.9.11
Loading...
Searching...
No Matches
StoreRecommendPackView.h
Go to the documentation of this file.
1
9
10#import <UIKit/UIKit.h>
11
12#import "StorePackInfo.h"
13
14NS_ASSUME_NONNULL_BEGIN
15
19@protocol StoreRecommendPackViewDelegate <NSObject>
20@optional
25- (void)storePackViewSelected:(id)packView;
26@end
27
31@interface StoreRecommendPackView : UIView
32
40@property(nonatomic, weak) id delegate;
41
46@property(nonatomic, strong, nullable) UIImageView *artworkView;
47
53@property(nonatomic, readonly) NSUInteger index;
54
65- (instancetype)initWithFrame:(CGRect)frame;
66
72- (void)setBgImage:(nullable UIImage *)bgImg;
73
84- (void)loadPackInfo:(nullable StorePackInfo *)packInfo index:(NSUInteger)index;
85
91- (void)handleTap:(id)sender;
92
93@end
94
95NS_ASSUME_NONNULL_END
96
97// code: language=Objective-C
98// kate: hl Objective-C;
99// vim: set ft=objc :
One purchasable pack in the store.
A pack's identity, name, price, store flags, and track list.
Definition StorePackInfo.h:18
A tappable tile showing one pack's artwork, name, price and status markers.
Definition StoreRecommendPackView.h:32
id delegate
The object told when the tile is tapped.
Definition StoreRecommendPackView.h:40
NSUInteger index
The tile's position in the recommendation list, as last given to -loadPackInfo:index: .
Definition StoreRecommendPackView.h:53
UIImageView * artworkView
The tile's artwork view.
Definition StoreRecommendPackView.h:46