JubeatPlus 3.9.11
Loading...
Searching...
No Matches
BannerView.h
Go to the documentation of this file.
1
11
12#import <UIKit/UIKit.h>
13
14#import "StorePromotion.h"
15
16NS_ASSUME_NONNULL_BEGIN
17
21@interface BannerView : UIView
22
28@property(nonatomic, readonly, nullable) UIImageView *imageView;
29
35@property(nonatomic, strong, nullable) StorePromotion *promotion;
36
43- (instancetype)initWithFrame:(CGRect)frame;
44
50- (void)setCornerRadius:(CGFloat)cornerRadius;
51
62- (void)loadImageWithSession:(nullable NSURLSession *)session;
63
64@end
65
66NS_ASSUME_NONNULL_END
67
68// code: language=Objective-C
69// kate: hl Objective-C;
70// vim: set ft=objc :
One promoted item in the store.
A grey plate holding one aspect-fill image view, loaded over the network on demand.
Definition BannerView.h:22
StorePromotion * promotion
The promotion whose artwork this banner shows.
Definition BannerView.h:35
UIImageView * imageView
The image view filling the banner.
Definition BannerView.h:28
A promoted pack or genre, with its banner artwork and, for a pack, its sample list.
Definition StorePromotion.h:24