会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
应有梦
博客园
首页
新随笔
联系
管理
订阅
2016年3月22日
安装CocoaPods 几步骤
摘要: 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 应有梦
阅读(105)
评论(0)
推荐(0)
2016年3月9日
iOS imageview取色处理
摘要: -(UIImage *)grayImage:(UIImage *)sourceImage { int bitmapInfo = kCGImageAlphaNone; int width = sourceImage.size.width; int height = sourceImage.size.h
阅读全文
posted @ 2016-03-09 11:11 应有梦
阅读(393)
评论(0)
推荐(0)
2016年2月27日
iOS 异步图片加载优化与常用开源库分析
摘要: https://segmentfault.com/a/1190000002776279
阅读全文
posted @ 2016-02-27 17:01 应有梦
阅读(126)
评论(0)
推荐(0)
2016年2月26日
iOS 字符串的处理
摘要: //一、NSString/*----------------创建字符串的方法----------------*/ //1、创建常量字符串。NSString *astring = @"This is a String!"; //2、创建空字符串,给予赋值。NSString *astring = [[N
阅读全文
posted @ 2016-02-26 18:27 应有梦
阅读(253)
评论(0)
推荐(0)
iOS 取后两位并且四舍五入
摘要: NSNumber *priceNum = [NSNumber numberWithFloat:123.125]; NSLog(@"----%@---",[NSString stringWithFormat:@"%.2f",round([priceNum floatValue]*100)/100]);
阅读全文
posted @ 2016-02-26 18:24 应有梦
阅读(1866)
评论(0)
推荐(0)
2016年2月19日
判断列表数据是否请求完了
摘要: 加入一组数据9条 那么在上拉加载的时候 做一下判断 _friendCircleArray.count % 9 != 0 数组是否能整除9跳 如果不能 那么说明下面还有数据
阅读全文
posted @ 2016-02-19 15:38 应有梦
阅读(197)
评论(0)
推荐(0)
整理常用的iOS第三方资源
摘要: http://www.cocoachina.com/ios/20160121/14988.html
阅读全文
posted @ 2016-02-19 15:03 应有梦
阅读(120)
评论(0)
推荐(0)
2016年2月17日
//textView高度等于滚动高度
摘要: - (void)textViewDidChange:(UITextView *)textView { //textView高度等于滚动高度 _messageDetail.height = textView.contentSize.height; }
阅读全文
posted @ 2016-02-17 17:39 应有梦
阅读(208)
评论(0)
推荐(0)
iOS 修改textView里面字的内边距
摘要: _messageDetail.textContainerInset = UIEdgeInsetsMake(0, 0, 0, 0);
阅读全文
posted @ 2016-02-17 16:37 应有梦
阅读(7662)
评论(0)
推荐(1)
2015年11月24日
iOS 整体修改app所有字体大小
摘要: 换我手上这一套启动页 或许我说你们不信 但就是真的!我也感觉碉堡了!
阅读全文
posted @ 2015-11-24 12:12 应有梦
阅读(2690)
评论(1)
推荐(0)
下一页
公告