1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
//
// ScreeningView.h
// Lighting
//
// Created by 曹云霄 on 16/5/7.
// Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//
#import <UIKit/UIKit.h>
/**
* 右侧筛选菜单点击
*/
@protocol ScreeningButtonClickdelegate <NSObject>
@required
- (void)screeningButtonClick:(NSInteger)buttontag;
@end
@interface ScreeningView : UIView
/**
* 风格按钮
*/
@property (weak, nonatomic) IBOutlet UIButton *styleButton;
/**
* 类型按钮
*/
@property (weak, nonatomic) IBOutlet UIButton *typeButton;
/**
* 空间按钮
*/
@property (weak, nonatomic) IBOutlet UIButton *spaceButton;
/**
* 材质按钮
*/
@property (weak, nonatomic) IBOutlet UIButton *materialButton;
/**
* 价格按钮
*/
@property (weak, nonatomic) IBOutlet UIButton *spriceButton;
/**
* 背景View
*/
@property (weak, nonatomic) IBOutlet UIView *backgroundView;
/**
* 筛选、分类切换
*/
@property (weak, nonatomic) IBOutlet UISegmentedControl *sortingSegmented;
/**
* 阴影View
*/
@property (weak, nonatomic) IBOutlet UIView *shadowView;
/**
* 代理
*/
@property (nonatomic,assign) id<ScreeningButtonClickdelegate> delegate;
/**
* 选中按钮(其他设为未选中状态)
*/
@property (nonatomic,assign) NSInteger indexselected;
@end