@SanMao
2015-08-05T16:34:42.000000Z
字数 1549
阅读 1203
UI
界面视图中的逻辑控制
- (IBAction)buttonClick{}
@property (nonatomic, weak) IBOutlet UILabel *label;
@interface 类名() /*属性、成员变量、方法声明*/@end
与分类的区别
@interface 类名(分类名字)@end@implementation 类名(分类名字)@end
第1个错误
错误描述
[<ViewController 0x7fdc0152d300> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key label.
第2个错误
错误描述
[ViewController blueClick]: unrecognized selector sent to instance 0x7ff59d014320
UIButton 按钮UILabel 文本标签UITextField 文本输入框UIImageView 图片显示UIAlertView 对话框(中间弹框)UIScrollView 滚动的控件UITableView 表格UICollectionView 九宫格UINavigationBar导航条