JubeatPlus 3.9.11
Loading...
Searching...
No Matches
StoreDetailMusicCell.h
Go to the documentation of this file.
1
12
13#import <UIKit/UIKit.h>
14
15#import "AlertViewManager.h"
16
17NS_ASSUME_NONNULL_BEGIN
18
26@interface StoreDetailMusicCell : UITableViewCell <AlertViewManagerDelegate>
27
33+ (CGFloat)cellHeight;
34
38@property(strong, nonatomic, nullable) UIImageView *artworkView;
39
43@property(strong, nonatomic, nullable) UILabel *labelName;
44
48@property(strong, nonatomic, nullable) UILabel *labelArtist;
49
53@property(strong, nonatomic, nullable) UILabel *labelLevels;
54
58@property(strong, nonatomic, nullable) UIImageView *extendImg;
59
63@property(weak, nonatomic, nullable) UIViewController *viewController;
64
72- (instancetype)initWithStyle:(UITableViewCellStyle)style
73 reuseIdentifier:(nullable NSString *)reuseIdentifier;
74
80- (void)setBgImage:(nullable UIImage *)image;
81
87- (void)setLink:(nullable NSString *)link;
88
93- (void)sampleStop;
94
99- (void)sampleDownloading;
100
105- (void)samplePlaying;
106
112- (void)handleLink:(nullable id)sender;
113
119- (void)alertSelect:(nonnull NSDictionary *)info;
120
125- (void)terminate;
126
131- (void)detailClose;
132
133@end
134
135NS_ASSUME_NONNULL_END
136
137// code: language=Objective-C
138// kate: hl Objective-C;
139// vim: set ft=objc :
A shared alert presenter that hides the UIAlertController/UIAlertView split behind one API.
A non-selectable cell describing one downloadable music entry.
Definition StoreDetailMusicCell.h:26
void detailClose()
Closes any alert presented through AlertViewManager.
Definition StoreDetailMusicCell.m:281
void sampleStop()
Hides the sample overlay and stops the download spinner.
Definition StoreDetailMusicCell.m:217
void sampleDownloading()
Shows the sample overlay spinning while the sample downloads.
Definition StoreDetailMusicCell.m:223
void samplePlaying()
Shows the sample overlay with the play badge while the sample plays.
Definition StoreDetailMusicCell.m:230
CGFloat cellHeight()
The fixed row height for this cell.
Definition StoreDetailMusicCell.m:85
UIViewController * viewController
The controller used to open the iTunes link; held weakly.
Definition StoreDetailMusicCell.h:63
UIImageView * artworkView
The jacket artwork image view.
Definition StoreDetailMusicCell.h:38
UILabel * labelArtist
The artist label.
Definition StoreDetailMusicCell.h:48
UILabel * labelName
The music title label.
Definition StoreDetailMusicCell.h:43
UIImageView * extendImg
The overlaid "extend" badge image, added directly to the cell.
Definition StoreDetailMusicCell.h:58
void terminate()
No-op teardown hook retained from the original.
Definition StoreDetailMusicCell.m:276
UILabel * labelLevels
The difficulty-levels label.
Definition StoreDetailMusicCell.h:53
The optional delegate of AlertViewManager.
Definition AlertViewManager.h:18