KWMHotSalesHeader.h 684 Bytes
Newer Older
houweibin committed
1 2 3 4 5 6 7 8 9
//
//  KWMHotSalesHeader.h
//  iCemarose
//
//  Created by HouWeiBin on 2017/7/10.
//  Copyright © 2017年 kollway. All rights reserved.
//

#import <UIKit/UIKit.h>
houweibin committed
10
#import <Buy/Buy.h>
u  
lee committed
11
#import "KWMAdvertisement.h"
houweibin committed
12 13 14 15 16 17 18



@protocol KWMHotSalesDelegate <NSObject>

- (void)kwm_onClickProduct:(BUYProduct *)product;

u  
lee committed
19 20
- (void)kwm_onClickHotSalesAd:(KWMAdvertisement *) ad;

houweibin committed
21
@end
houweibin committed
22

u  
lee committed
23
@interface KWMHotSalesHeader : UIView
houweibin committed
24 25 26 27

+ (NSString *)kwmTag;


houweibin committed
28 29
@property(nonatomic,weak) id<KWMHotSalesDelegate> delegate;

houweibin committed
30
@property(nonatomic) NSArray<BUYProduct *> *singleShowArray;
houweibin committed
31

u  
lee committed
32
@property(nonatomic) NSArray<KWMAdvertisement *> *bannerArray;
houweibin committed
33 34

@property(nonatomic,readonly) NSInteger actrualHeight;
houweibin committed
35

houweibin committed
36
@end