KWMFirstDetailView.h 860 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
//
//  KWMProductDetailView.h
//  iCemarose
//
//  Created by HouWeiBin on 2017/1/11.
//  Copyright © 2017年 kollway. All rights reserved.
//

#import "Buy/Buy.h"
houweibin committed
10
#import "KWMColor.h"
11 12 13 14 15 16

@protocol KWMFirstDetailViewDelegate <NSObject>

- (void)kwm_onClickImage:(NSMutableArray *)imageArr currentIndex:(NSInteger)currentIndex;
- (void)kwm_onClickSizeBtn;
- (void)kwm_goToBrandVC;
lee committed
17
- (void)kwm_sizeGuide;
18 19 20 21 22 23 24

@end

@interface KWMFirstDetailView : UIView

@property (weak, nonatomic) id<KWMFirstDetailViewDelegate>delegate;

houweibin committed
25 26 27 28 29 30 31
@property (nonatomic,readonly) BUYProductVariant *variant;

@property (nonatomic,readonly) KWMColor *color;

@property (nonatomic,readonly) NSInteger count;

-(void)setSelect:(BUYProductVariant *)variant color:(KWMColor *)color count:(NSInteger)count;
32

33 34
-(void)setData:(BUYProduct *)product;

lee committed
35
@property (nonatomic) BOOL sizeGuideHidden;
36

37
@end