2016年8月8日

sizeWithFont:的替代方法

摘要: sizeWithFont:的替代方法 阅读全文

posted @ 2016-08-08 19:42 Left-knife 阅读(568) 评论(0) 推荐(0) 编辑

ios 字符串处理:截取字符串、匹配字符串、分隔字符串

摘要: 1.截取字符串NSString*string =@"sdfsfsfsAdfsdf";string = [string substringToIndex:7];//截取掉下标7之后的字符串NSLog(@"截取的值为:%@",string);[string substringFromIndex:2];/ 阅读全文

posted @ 2016-08-08 19:23 Left-knife 阅读(13479) 评论(0) 推荐(0) 编辑

导航