摘要: 1.导入工程2.导入辅助库libicucore.tbd3.编译为非ARC (-fno-objc-arc)4.定义正则表达式//用来匹配中文 NSString * pattern=@"\\[[\\u4E00-\\u9FA5]+\\]"; //待匹配字符串 NSStri... 阅读全文
posted @ 2015-11-20 14:35 怀揣梦想的Developer 阅读(231) 评论(0) 推荐(0)
摘要: 1.创建UITabBarController@implementation RootViewController{ NSMutableArray *_allBtnArr; //按钮数据数组}- (void)viewDidLoad { [super viewDidLoad]; // Do... 阅读全文
posted @ 2015-11-20 14:02 怀揣梦想的Developer 阅读(367) 评论(0) 推荐(0)
摘要: - (void)setRichNumberWithLabel:(UILabel *)label Color:(UIColor *) color FontSize:(CGFloat)size{//将Label的text转化为NSMutalbeAttributedString NSMutableA... 阅读全文
posted @ 2015-11-20 11:33 怀揣梦想的Developer 阅读(515) 评论(0) 推荐(0)