- 博客(2)
- 收藏
- 关注
原创 oc基础的纪录
不可变数组 NSArray *array = [[NSArray alloc]initwithObjects:"One,Two,Three",nil] ; NSLog(@"%@,array"); 快速枚举法 for(id obj in array) { NSLog(@%@,obj); } 可变数组 NSMutableArray *array = [[NSMutable
2016-04-18 16:51:55 126
原创 unbutton的初级使用方法
UIButton *button1 = [[UIButton alloc]initWithFrame:CGRectMake(x, y, 宽, 高)];//创建及定义位置 button1.backgroundColor = [UIColor grayColor];//背景颜色 [button1 setTitle:@"文字信息" forState:UIContro
2016-04-09 14:06:19 509
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人