KWMRecommendView.h 729 Bytes
Newer Older
houweibin committed
1 2 3 4 5 6 7 8 9
//
//  KWMRecommendHeader.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>
11
@class KWMRecommendView;
houweibin committed
12

houweibin committed
13 14 15 16
@protocol KWMRecommendDelegate <NSObject>

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

17
- (void)kwm_gotoRecommendPage:(KWMRecommendView *)recommendView;
houweibin committed
18

houweibin committed
19
@end
20
@interface KWMRecommendView : UIView<UICollectionViewDataSource,UICollectionViewDelegate>
houweibin committed
21 22 23

+ (NSString *)kwmTag;

houweibin committed
24 25 26 27
@property(nonatomic,weak) id<KWMRecommendDelegate> delegate;

@property(nonatomic) NSArray *productArray;

28 29 30 31 32
@property(nonatomic) NSString *title;

//已购买商品,用于去重
@property(nonatomic) NSArray *boughtProductIdArray;

houweibin committed
33
@end