11#import <UIKit/UIKit.h>
15NS_ASSUME_NONNULL_BEGIN
20@protocol StorePackViewDelegate <NSObject>
26- (void)storePackViewSelected:(nonnull
id)packView;
40@property(nonatomic, weak, nullable)
id delegate;
46@property(nonatomic, strong, nullable) UIImageView *
artworkView;
52@property(nonatomic, readonly) NSUInteger
index;
60- (instancetype)initWithFrame:(CGRect)frame;
67- (void)setBgImage:(nullable UIImage *)image;
74- (void)handleTap:(nonnull UITapGestureRecognizer *)recognizer;
82- (void)loadPackInfo:(nullable
StorePackInfo *)packInfo index:(NSUInteger)index;
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, comment, price, and status markers.
Definition StorePackView.h:33
UIImageView * artworkView
The tile's artwork view.
Definition StorePackView.h:46
NSUInteger index
The tile's position in the pack list, as last given to -loadPackInfo:index: .
Definition StorePackView.h:52
id delegate
The object told when the tile is tapped.
Definition StorePackView.h:40