摘要: http://brew.sh/index_zh-cn.htmlhttp://www.2cto.com/kf/201411/348389.htmlhttp://code4app.com/article/cocoapods-install-usage#install 阅读全文
posted @ 2016-03-22 15:12 应有梦 阅读(101) 评论(0) 推荐(0) 编辑
摘要: -(UIImage *)grayImage:(UIImage *)sourceImage { int bitmapInfo = kCGImageAlphaNone; int width = sourceImage.size.width; int height = sourceImage.size.h 阅读全文
posted @ 2016-03-09 11:11 应有梦 阅读(388) 评论(0) 推荐(0) 编辑
摘要: https://segmentfault.com/a/1190000002776279 阅读全文
posted @ 2016-02-27 17:01 应有梦 阅读(115) 评论(0) 推荐(0) 编辑
摘要: //一、NSString/*----------------创建字符串的方法----------------*/ //1、创建常量字符串。NSString *astring = @"This is a String!"; //2、创建空字符串,给予赋值。NSString *astring = [[N 阅读全文
posted @ 2016-02-26 18:27 应有梦 阅读(246) 评论(0) 推荐(0) 编辑
摘要: NSNumber *priceNum = [NSNumber numberWithFloat:123.125]; NSLog(@"----%@---",[NSString stringWithFormat:@"%.2f",round([priceNum floatValue]*100)/100]); 阅读全文
posted @ 2016-02-26 18:24 应有梦 阅读(1851) 评论(0) 推荐(0) 编辑
摘要: 加入一组数据9条 那么在上拉加载的时候 做一下判断 _friendCircleArray.count % 9 != 0 数组是否能整除9跳 如果不能 那么说明下面还有数据 阅读全文
posted @ 2016-02-19 15:38 应有梦 阅读(176) 评论(0) 推荐(0) 编辑
摘要: http://www.cocoachina.com/ios/20160121/14988.html 阅读全文
posted @ 2016-02-19 15:03 应有梦 阅读(117) 评论(0) 推荐(0) 编辑
摘要: - (void)textViewDidChange:(UITextView *)textView { //textView高度等于滚动高度 _messageDetail.height = textView.contentSize.height; } 阅读全文
posted @ 2016-02-17 17:39 应有梦 阅读(201) 评论(0) 推荐(0) 编辑
摘要: _messageDetail.textContainerInset = UIEdgeInsetsMake(0, 0, 0, 0); 阅读全文
posted @ 2016-02-17 16:37 应有梦 阅读(7642) 评论(0) 推荐(1) 编辑
摘要: 换我手上这一套启动页 或许我说你们不信 但就是真的!我也感觉碉堡了! 阅读全文
posted @ 2015-11-24 12:12 应有梦 阅读(2672) 评论(1) 推荐(0) 编辑