//
//  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
