【发布时间】:2014-03-25 00:04:20
【问题描述】:
我对 Objective C 很陌生。不断收到此错误
"Use of undeclared identifier"
对于这行代码:
NSString *textOut1 = textOut.text;
显然我只是想拉出文本框文本。我在我的 h 文件中声明了以下内容
@property (weak, nonatomic) IBOutlet UITextField *textOut;
所以我不明白为什么我不断收到那个该死的错误。谢谢!
【问题讨论】:
标签: ios objective-c properties nsstring uitextfield