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
//
// PopoverViewController.h
// Lighting
//
// Created by 曹云霄 on 16/5/9.
// Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//
#import "BaseViewController.h"
/**
* 点击cell代理方法,返回indexpath.row
*/
@protocol ReturnTableviewcellIndexpathdelegate <NSObject>
- (void)returnCellindexpathwithrow:(NSInteger)index;
@end
@interface PopoverViewController : BaseViewController
/**
* 传入数据源
*/
@property (nonatomic,strong) NSArray *datasArray;
/**
* 代理
*/
@property (nonatomic,assign) id<ReturnTableviewcellIndexpathdelegate>delegate;
/**
* 传入CGsize
*/
@property (nonatomic,assign) CGSize contentSize;
@end