screeningSecondView.h 1.68 KB
Newer Older
曹云霄's avatar
曹云霄 committed
1 2 3 4 5 6 7 8 9 10
//
//  screeningSecondView.h
//  Lighting
//
//  Created by 曹云霄 on 16/5/8.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>

曹云霄's avatar
曹云霄 committed
11 12 13 14 15 16

/**
 *  tableview模块的选中
 */
@protocol TableviewSelectedIndexdelegate <NSObject>

17 18

//UITableview
曹云霄's avatar
曹云霄 committed
19 20
- (void)tableSelectedindex:(NSInteger)index;

21 22 23 24 25 26 27

//UICollectionView选中后返回所有被选中的类型
- (void)collectionSelectedindexWithStyleCode:(NSString *)styleCode withCategories:(NSString *)categoriesCode withSpace:(NSString *)spaceCode withMaterial:(NSString *)materialCode withPrice:(NSString *)priceTitle;

//显示筛选结果
- (void)ShowScreeningResponse;

曹云霄's avatar
曹云霄 committed
28 29 30
@end


曹云霄's avatar
曹云霄 committed
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
@interface screeningSecondView : UIView<UITableViewDelegate,UITableViewDataSource,UICollectionViewDelegate,UICollectionViewDataSource>





/**
 *  筛选tableview
 */
@property (weak, nonatomic) IBOutlet UITableView *screeningTableview;


/**
 *  筛选collectionView
 */
@property (weak, nonatomic) IBOutlet UICollectionView *screeningCollectionView;


/**
 *  筛选layout
 */
@property (weak, nonatomic) IBOutlet UICollectionViewFlowLayout *screeningLayout;

曹云霄's avatar
曹云霄 committed
54
/**
曹云霄's avatar
曹云霄 committed
55
 *  筛选数据源
曹云霄's avatar
曹云霄 committed
56 57 58 59 60 61 62 63 64 65 66
 */
@property (nonatomic,strong) NSArray *datasArray;


/**
 *  筛选结果显示
 */
@property (weak, nonatomic) IBOutlet UIButton *screeningResultButton;



曹云霄's avatar
曹云霄 committed
67 68 69 70
/**
 *  tableview选中代理
 */
@property (nonatomic,assign) id<TableviewSelectedIndexdelegate>delegate;
曹云霄's avatar
曹云霄 committed
71 72


73 74 75 76
/**
 *  筛选按钮选中的index
 */
@property (nonatomic) NSInteger selectedIndex;
曹云霄's avatar
曹云霄 committed
77 78 79



80 81 82 83
/**
 *  通过复选搜索到的总条数
 */
@property (nonatomic,assign) NSInteger totalNumber;
曹云霄's avatar
曹云霄 committed
84 85


86 87 88 89
/**
 *  默认数据源
 */
@property (nonatomic,strong) NSMutableArray *defaultDatasArray;
曹云霄's avatar
曹云霄 committed
90

曹云霄's avatar
曹云霄 committed
91
@end