摘要: 初始化 UITextField *tf = [[UITextField alloc] init]; typedef NS_ENUM(NSInteger, UITextBorderStyle) { //没有任何边框 UITextBorderStyleNone, //线性边框 UITextBorderS 阅读全文
posted @ 2016-03-18 08:31 人生路1/5 阅读(214) 评论(0) 推荐(0)
摘要: 初始化 添加事件 事件处理 阅读全文
posted @ 2016-03-17 16:38 人生路1/5 阅读(186) 评论(0) 推荐(0)
摘要: 初始化 阅读全文
posted @ 2016-03-17 16:05 人生路1/5 阅读(138) 评论(0) 推荐(0)
摘要: 初始化 阅读全文
posted @ 2016-03-17 14:26 人生路1/5 阅读(391) 评论(0) 推荐(0)
摘要: 初始化 添加事件 阅读全文
posted @ 2016-03-17 11:36 人生路1/5 阅读(146) 评论(0) 推荐(0)
摘要: 初始化 UISlider 阅读全文
posted @ 2016-03-17 09:25 人生路1/5 阅读(198) 评论(0) 推荐(0)
摘要: // 创建控件(他同样是透明的) UISegmentedControl *seg = [[UISegmentedControl alloc] initWithItems:@[@"1",@"1",@"1",@"1"]]; //typedef NS_ENUM(NSInteger, UISegmentedControlStyle) { // UISegmente... 阅读全文
posted @ 2016-03-16 22:13 人生路1/5 阅读(797) 评论(0) 推荐(0)
摘要: 初始化 // 能够定义的button类型有以下6种,// typedef enum {// UIButtonTypeCustom = 0, 自定义风格// UIButtonTypeRoundedRect, 圆角矩形 // UIButtonTypeDetailDisclosure, 蓝色小箭头按钮,主 阅读全文
posted @ 2016-03-16 20:40 人生路1/5 阅读(214) 评论(0) 推荐(0)
摘要:       阅读全文
posted @ 2016-03-15 18:43 人生路1/5 阅读(313) 评论(0) 推荐(0)
摘要:   国际惯例,先上图   苹果内置 所有字体名称(2015.03.15)这里是demo   以下来自http://my.oschina.net/u/2340880   阅读全文
posted @ 2016-03-15 15:03 人生路1/5 阅读(539) 评论(0) 推荐(0)