i am streching my hairs in understanding开发者_StackOverflow中文版 customcell implemention from this
1: http://b00gizm.posterous.com/customizing-table-view-cells-for-fancy-user-i tutorial. i am also attaching the part where i am stuffing
what is this textfieldcell.h doing here in classoutlets. Please guide!!
The TextFieldCell
-class is there because you're making a custom UITableViewCell.
The outlet is to inform the custom textfield that this is the header-file that belongs to the cell.
If you read a little further down in the guide, this is what TextFieldCell.h should contain:
#import
@interface TextFieldCell : UITableViewCell { IBOutlet UITextField *textField; }
@property (nonatomic, retain) IBOutlet UITextField *textField;
@end
Good luck ;)
精彩评论