摘要: UIButton属性1.UIButton状态:UIControlStateNormal // 正常状态UIControlStateHighlighted // 高亮状态UIControlStateDisabled // 禁用状态UIControlStateSelected // 选中状态UICont... 阅读全文
posted @ 2015-09-03 07:52 王刚韧(wanghy_iOS) 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 苹果API常用英语名词0. indicating 决定1.in order to 以便2.rectangle bounds 矩形尺寸3.applied 应用4.entirety 全部5.technique 方法6.truncating 截短7.wrapping 换行8.string 字符串9.fam... 阅读全文
posted @ 2015-09-03 07:50 王刚韧(wanghy_iOS) 阅读(191) 评论(0) 推荐(0) 编辑
摘要: UIImageView属性1.Image 设置图片,默认显示UIImageView *_imageView = [[UIImageViewalloc]init];_imageView.image = [UIImageimageNamed:@"me.png"];2.highlightedImage 设... 阅读全文
posted @ 2015-09-03 07:47 王刚韧(wanghy_iOS) 阅读(140) 评论(0) 推荐(0) 编辑
摘要: UILabel属性1.text:设置标签显示文本。2.attributedText:设置标签属性文本。Ios代码NSString*text=@"first";NSMutableAttributedString*textLabelStr=[[NSMutableAttributedStringalloc... 阅读全文
posted @ 2015-09-03 07:41 王刚韧(wanghy_iOS) 阅读(126) 评论(0) 推荐(0) 编辑