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
//
// GXFTableViewCell.h
// XFFruit
//
// Created by freecui on 15/9/1.
// Copyright (c) 2015年 Xummer. All rights reserved.
//
#import <UIKit/UIKit.h>
static NSString *noLblCell = @"noLblCell";
static NSString *lblCell = @"lblCell";
static NSString *arrowCell = @"arrowCell";
static NSString *remarkCell = @"remarkCell";
static NSString *addHeaderCell = @"addHeaderCell";
static NSString *addDetailCell = @"addDetailCell";
//static NSString *actionFootCell = @"actionFootCell";
@interface GXFTableViewCell : UITableViewCell
@property (nonatomic, strong) UITextField *f_textField;
- (instancetype)initWithStyle: (UITableViewCellStyle)style
reuseIdentifier: (NSString *)reuseIdentifier
textFieldPlaceholder: (NSString *)placeholder
// textField: (UITextField *)textF
hasLable: (BOOL)hasLbl
backLableText: (NSString *)lblText; //带有placeholder和label
- (instancetype)initWithreuseIdentifier: (NSString *)reuseIdentifier
textFieldPlaceholder: (NSString *)placeholder
// hasLable: (BOOL)hasLbl
backLableText: (NSString *)lblText;//@"lblCell" :无箭头cellstyle为默认 :带有placeholder和label ,,没箭头可编辑
- (instancetype)initWithStyle: (UITableViewCellStyle)style
reuseIdentifier: (NSString *)reuseIdentifier
textFieldPlaceholder: (NSString *)placeholder //带有placeholder分两张情况 :1),有箭头 2)没箭头可编辑
isEdit: (BOOL)isEdit;
- (instancetype)initAccessorWithreuseIdentifier: (NSString *)reuseIdentifier
textFieldPlaceholder: (NSString *)placeholder; //@"arrowCell":带有placeholder :1),有箭头
- (instancetype)initEditNoAccessorWithreuseIdentifier: (NSString *)reuseIdentifier
textFieldPlaceholder: (NSString *)placeholder; // @"noLblCell" :带有placeholder :2)没箭头可编辑
- (instancetype)initWithStyle: (UITableViewCellStyle)style
reuseIdentifier: (NSString *)reuseIdentifier
contentArray: (NSArray *)array; // cell 一行中显示的内容
//- (instancetype)initwithBottom: ()
@end
#pragma cell 默认的宽度好像是320 ????
@interface GXFTableViewCell (Frame)
- (instancetype)initWithWidth: (CGFloat)width
Style: (UITableViewCellStyle)style
reuseIdentifier: (NSString *)reuseIdentifier
textFieldPlaceholder: (NSString *)placeholder
// textField: (UITextField *)textF
hasLable: (BOOL)hasLbl
backLableText: (NSString *)lblText; //带有placeholder和label
- (instancetype)initWithWidth: (CGFloat)width
Style: (UITableViewCellStyle)style
reuseIdentifier: (NSString *)reuseIdentifier
textFieldPlaceholder: (NSString *)placeholder //带有placeholder分两张情况 :1),有箭头 2)没箭头可编辑
isEdit: (BOOL)isEdit;
//- (instancetype)initWithWidth: (CGFloat)width
// Style: (UITableViewCellStyle)style
// reuseIdentifier: (NSString *)reuseIdentifier
// contentArray: (NSArray *)array; // cell 一行中显示的内容
@end