2015年2月6日
摘要: 转帖:1、baseline崩溃信息:'Unable to create description in descriptionForLayoutAttribute_layoutItem_coefficient. Something is nil'原因因为偷懒使用了reset to suggested ... 阅读全文
posted @ 2015-02-06 15:18 囧小斐 阅读(868) 评论(0) 推荐(0) 编辑
摘要: 这个原因是因为 xcode6以上 用自动布局的时候, 自动增加了 baseline 导致的。。删除base line 解决。。。 阅读全文
posted @ 2015-02-06 14:57 囧小斐 阅读(83) 评论(0) 推荐(0) 编辑
  2014年8月19日
摘要: 由于用到了图片按钮,设置成圆角的时候 用了MBProgressHUD由于用了这个 导致 菊花裂了。。[self.btnOrder.layer setMasksToBounds:YES]; 阅读全文
posted @ 2014-08-19 13:01 囧小斐 阅读(157) 评论(0) 推荐(0) 编辑
  2014年8月14日
摘要: 阅读别人代码的时候,经常会在delloc方法中,看到有的人释放对象使用self.xxx=nil,有些人使用[xxx release];就忍不住想查看一下这两者的区别;搜索资料之后,看到网上找到如下说法:self.xxx = nil;等价于[xxx release]; xxx = [nil retai... 阅读全文
posted @ 2014-08-14 12:12 囧小斐 阅读(193) 评论(0) 推荐(0) 编辑
  2014年8月8日
摘要: SDwebimage 分为2.0和3.0版本2.0版本支持5.1.1以前的版本。3.0版本支持5.1.1以及以后的版本。3.0版本一直在进行优化中,等下继续 阅读全文
posted @ 2014-08-08 09:39 囧小斐 阅读(69) 评论(0) 推荐(0) 编辑