开发者

class outlets not able to understand

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

class outlets not able to understand

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 ;)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜