Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/44.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 更新tablecell中的textfield_Iphone_Uitextfield_Tablecell - Fatal编程技术网

Iphone 更新tablecell中的textfield

Iphone 更新tablecell中的textfield,iphone,uitextfield,tablecell,Iphone,Uitextfield,Tablecell,NSString*cel=@text; nsindepath*a=[nsindepath indexPathForRow:1第1节:1]; CustomCell*c=CustomCell*[tableView cellForRowAtIndexPath:a]; c、 yes.text=cel; 我正在使用这些行更新放置在tablecell上的UITextfield。。。。。 但是它给了我一些这样的错误 RootViewController.m:110:错误:“tableView”未声明此函数的首

NSString*cel=@text; nsindepath*a=[nsindepath indexPathForRow:1第1节:1]; CustomCell*c=CustomCell*[tableView cellForRowAtIndexPath:a]; c、 yes.text=cel; 我正在使用这些行更新放置在tablecell上的UITextfield。。。。。 但是它给了我一些这样的错误


RootViewController.m:110:错误:“tableView”未声明此函数的首次使用

编译器告诉您tableView在调用函数的执行范围内是未知的。如果在interface builder中添加了UITableView,则需要将其添加到RootViewController的类定义中,如下所示:

@interface RootViewController:UIViewController< UITableViewDelegate, UITableViewDataSource> 
...

IBOutlet UITableView *tableView;

...
@end

@property (nonatomic,retain) IBOutlet UITableView *tableView;

在Interface Builder中,通过右键单击或控制单击表格视图,将该行拖动到显示窗口中的RootViewController行,并从弹出的灰色窗口中选择tableView,将您创建的表格视图链接到此tableView变量。

您能清理上述问题,使其更具可读性吗。。。?
@synthesize tableView;