- 博客(6)
- 收藏
- 关注
原创 我的iOS开发之路
学习iOS有些时间了,基础控件是一开始接触的,但控件的某些属性和控件用法,现在已经忘的差不多了。前几篇先笼统的回忆一下这些控件吧。
2016-01-20 10:03:06
291
原创 UIButton简单介绍
UIButton:按钮 //在创建button的时候,需要指定Button的类型 self.button = [UIButton buttonWithType:UIButtonTypeSystem]; self.button.backgroundColor = [UIColor orangeColor]; self.button.frame = CGRectMak
2016-01-20 20:08:46
294
原创 UITextField介绍
UITextField:文本输入框 //初始化 UITextField *textField = [[UITextField alloc] initWithFrame:CGRectMake(30, 30, 150, 30)]; //边框类型 若不设置此属性 则无边框 textField.borderStyle = UITextBorderStyleRound
2016-01-20 19:09:18
394
原创 imageView
- (void)viewDidLoad { [super viewDidLoad]; self.view.backgroundColor = [UIColor cyanColor]; UIImageView *imageView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, 200, 500)];
2016-01-19 18:15:41
417
原创 KVC简单用法
KVC赋值,先创建一个类Model #import @interface Model : NSObject @property (nonatomic, copy) NSString *name; @property (nonatomic, assign) NSInteger age; @property (nonatomic, copy) NSString *gender; @end
2016-01-18 14:47:38
309
原创 IOS UItableView一些属性及方法
使用UItableView需要总受两个代理: 初始化时候要设置tableView的style - (void)viewDidLoad { [super viewDidLoad]; UITableView *tableView = [[UITableView alloc]initWithFrame:[UIScreen mainScreen].bounds sty
2016-01-16 17:50:20
421
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅