2015年6月15日

UIStroryboard分类

摘要: #import "UIStoryboard+WF.h"@implementation UIStoryboard (WF)+(void)showInitialVCWithName:(NSString *)name{ UIStoryboard *storyboard = [UIStoryboard... 阅读全文

posted @ 2015-06-15 00:03 彪biao 阅读(118) 评论(0) 推荐(0)

2015年6月1日

ios基础笔记(一)

摘要: 1. 设置按钮文字的尺寸 为 按钮自己的尺寸 button.size = [button.currentTitle sizeWithFont:button.titleLabel.font]; button.backgroundColor=[UIColor redColor];2... 阅读全文

posted @ 2015-06-01 10:29 彪biao 阅读(175) 评论(0) 推荐(0)

2015年4月26日

IOS笔记-代码块(微博项目)-1.0

摘要: 1.gcd子线程block代码块2.遍历子控件 设置系统控件属性3.UITabBar_tabBarItem字体颜色设置 阅读全文

posted @ 2015-04-26 00:12 彪biao 阅读(185) 评论(0) 推荐(0)

2015年4月24日

IOS控件内容 对齐方式

摘要: 四个容易混淆的属性:1. textAligment : 文字的水平方向的对齐方式1> 取值NSTextAlignmentLeft = 0, // 左对齐NSTextAlignmentCenter = 1, // 居中对齐NSTextAlignmentRight = 2, // 右对齐2... 阅读全文

posted @ 2015-04-24 11:11 彪biao 阅读(346) 评论(0) 推荐(0)

2015年4月7日

android同一个TextView设置不同颜色字体

摘要: 1 SpannableStringBuilder style = new SpannableStringBuilder(str); 2 style.setSpan( 3 new ForegroundColorSpan(getR... 阅读全文

posted @ 2015-04-07 10:20 彪biao 阅读(667) 评论(0) 推荐(0)

导航