HeaderCell.h 753 Bytes
Newer Older
n22's avatar
n22 committed
1 2 3 4 5 6 7 8 9
//
//  HeaderCell.h
//  XFFruit
//
//  Created by n22 on 15/8/19.
//  Copyright (c) 2015年 Xummer. All rights reserved.
//

#import <UIKit/UIKit.h>
Sandy's avatar
Sandy committed
10
#import "ICRCheckBox.h"
陈俊俊's avatar
陈俊俊 committed
11 12 13 14 15 16 17
@protocol HeaderCellDelegate <NSObject>

@optional
- (void)addClickList;

@end

n22's avatar
n22 committed
18
@interface HeaderCell : UIView
陈俊俊's avatar
陈俊俊 committed
19
@property (nonatomic,weak)id<HeaderCellDelegate>delegate;
Sandy's avatar
Sandy committed
20 21
@property (strong, nonatomic) ICRCheckBox *checkBox;
@property (nonatomic, copy) void (^blockCheckBox)(BOOL isSelect);
n22's avatar
n22 committed
22
- (instancetype)initWithFrame:(CGRect)frame withArr:(NSArray *)arr;
陈俊俊's avatar
陈俊俊 committed
23
- (instancetype)initWithFrame:(CGRect)frame withArr:(NSArray *)arr withHiddenEdit:(BOOL)isHiddenEdit;
Sandy's avatar
Sandy committed
24
- (instancetype)initWithFrame:(CGRect)frame WithCheckBoxArr:(NSArray *)arr checkBox:(void (^)(BOOL isSelect))check;
n22's avatar
n22 committed
25 26

@end