SeceneLibraryView.h 1.99 KB
Newer Older
zhu's avatar
zhu committed
1 2 3 4 5 6 7 8 9
//
//  SeceneLibraryView.h
//  Lighting
//
//  Created by mac on 16/5/11.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
zhu's avatar
zhu committed
10
#import "SeceneCollectionPictureCell.h"
ZCJ's avatar
ZCJ committed
11
#import "screeningButton.h"
12
#import "SecenTableViewCell.h"
zhu's avatar
zhu committed
13
@protocol AddSecenePicturedelegate <NSObject>
zhu's avatar
zhu committed
14

zhu's avatar
zhu committed
15 16 17 18
@required

//回调
- (void)addSeceneImage:(UIImage *)image;
19
- (void)restSeceneBtnImage;
zhu's avatar
zhu committed
20 21 22 23 24
@end

@interface SeceneLibraryView : BaseViewController<UIGestureRecognizerDelegate,UITableViewDelegate,UITableViewDataSource,UICollectionViewDataSource,
UICollectionViewDelegate,UICollectionViewDelegateFlowLayout>
@property (nonatomic,assign) id<AddSecenePicturedelegate> delegate;
zhu's avatar
zhu committed
25 26 27 28 29 30 31
@property (nonatomic,strong) UIView *subView;
@property (nonatomic,strong) UIView *headerView;
@property (nonatomic,strong) UITableView *seceneTableView;
@property (nonatomic,strong) UITableView *pictureTableView;
@property (nonatomic,strong) UIButton *kongJianBtn;
@property (nonatomic,strong) UIButton *fengGeBtn;
@property (nonatomic,strong) UIButton *leiXingBtn;
zhu's avatar
zhu committed
32
@property (nonatomic,strong) NSMutableArray *arrayData;
zhu's avatar
zhu committed
33 34 35
@property (nonatomic,strong) NSMutableArray *array1;
@property (nonatomic,strong) NSMutableArray *array2;
@property (nonatomic,strong) NSMutableArray *array3;
zhu's avatar
zhu committed
36
@property (nonatomic,strong) UICollectionView *collectionView;
ZCJ's avatar
ZCJ committed
37 38 39 40 41
@property (nonatomic,strong)  SceneFilter *filter;//筛选数据源
@property (nonatomic,strong) SceneResponse *response;// 列表数据
@property (nonatomic,strong) NSArray *imageArray;//筛选cell个数图片
@property (strong, nonatomic) screeningButton *StyleButton;//风格按钮
@property (strong, nonatomic) screeningButton *SpaceButton;//房型按钮
zhu's avatar
zhu committed
42 43 44 45
/**
 *  当前页数
 */
@property (nonatomic,assign) int indexPage;
46 47 48 49 50 51 52 53 54 55
/**
 *  总页数
 */
@property (nonatomic,assign) int totalPages;
/**
 *  搜索模型
 */
@property (nonatomic,strong) SceneCondition *conditionModel;
@property (nonatomic,strong) NSString *isSelectBtnType;
@property (nonatomic ,strong)NSString *isSelectCell;
zhu's avatar
zhu committed
56
@end