JubeatPlus 3.9.11
Loading...
Searching...
No Matches
StoreRecommendPackTableView.h
Go to the documentation of this file.
1
19
20#import <UIKit/UIKit.h>
21
22#import "StorePackInfo.h"
24
25NS_ASSUME_NONNULL_BEGIN
26
35@interface StoreRecommendPackTableView : UITableView <UITableViewDataSource,
36 UITableViewDelegate,
37 UIScrollViewDelegate,
38 NSCacheDelegate,
40
42@property(nonatomic, strong, nullable) NSArray *packList;
43
50@property(nonatomic, weak, nullable) id parentView;
51
58@property(nonatomic, weak, nullable) StorePackInfo *parentInfo;
59
68- (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style;
69
75- (void)stopLoadingMore:(nullable id)sender;
76
81- (void)clearArtworkCache;
82
89- (void)downloadImageSync:(nullable NSArray *)arg;
90
97- (void)storePackViewSelected:(nullable id)packView;
98
105- (NSInteger)numPackRows;
106
114- (void)setupPackView:(nullable id)view index:(NSUInteger)index;
115
123- (UITableViewCell *)tableView:(UITableView *)tableView
124 cellForRowAtIndexPath:(NSIndexPath *)indexPath;
125
132- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView;
133
141- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section;
142
151- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath;
152
161- (void)tableView:(UITableView *)tableView
162 willDisplayCell:(UITableViewCell *)cell
163 forRowAtIndexPath:(NSIndexPath *)indexPath;
164
172- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath;
173
178- (void)reloadData;
179
185- (void)scrollViewDidScroll:(UIScrollView *)scrollView;
186
193- (void)cache:(NSCache *)cache willEvictObject:(nullable id)obj;
194
195@end
196
197NS_ASSUME_NONNULL_END
198
199// code: language=Objective-C
200// kate: hl Objective-C;
201// vim: set ft=objc :
One purchasable pack in the store.
One recommended pack's tile in the store.
A pack's identity, name, price, store flags, and track list.
Definition StorePackInfo.h:18
A table of recommended store packs with lazily-downloaded artwork and an infinite-scroll "load more" ...
Definition StoreRecommendPackTableView.h:39
id parentView
The owner told when a pack is tapped.
Definition StoreRecommendPackTableView.h:50
void clearArtworkCache()
Empties the artwork cache, cancels every queued download, and clears the in-flight list.
Definition StoreRecommendPackTableView.m:125
void reloadData()
Empties the artwork cache and reloads the table.
Definition StoreRecommendPackTableView.m:394
NSInteger numPackRows()
The number of pack rows: the pack count on iPhone, or half of it (rounded up) on iPad where each row ...
Definition StoreRecommendPackTableView.m:208
NSArray * packList
The packs to display.
Definition StoreRecommendPackTableView.h:42
StorePackInfo * parentInfo
The pack whose recommendations this table lists.
Definition StoreRecommendPackTableView.h:58
What a StoreRecommendPackView tells its owner.
Definition StoreRecommendPackView.h:19