会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
土匪7
上一页
1
···
21
22
23
24
25
26
27
28
29
···
39
下一页
压缩图片有白边
摘要: http://blog.csdn.net/chelongfei/article/details/51680478 只需要将所有的CGFloat转化为NSInteger即可 func imageScaleSize(newSize: CGSize) -> UIImage{ let width = NSI
阅读全文
posted @ 2017-12-14 16:02 土匪7
阅读(258)
评论(0)
推荐(0)
编辑
图标没了还变大了
摘要: 因为,Contents.json没了,粘贴过来一份就好了(appicon 和lunchimage) 修改 了文件, sourceTree没有识别 http://blog.csdn.net/youshaoduo/article/details/53183950 那就更狠一点,输入 这样就可以将1.m添
阅读全文
posted @ 2017-12-06 16:42 土匪7
阅读(144)
评论(0)
推荐(0)
编辑
列表刷新后跳动
摘要: 实现tableview 预估行高的方法就好了
阅读全文
posted @ 2017-11-30 17:47 土匪7
阅读(134)
评论(0)
推荐(0)
编辑
UITableView左右滑动cell无法显示“删除”按钮的原因分析
摘要: http://www.cocoachina.com/bbs/read.php?tid-145693.html - (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)edit
阅读全文
posted @ 2017-11-30 12:53 土匪7
阅读(126)
评论(0)
推荐(0)
编辑
不移除通知的话,出现的bug
摘要: 没销毁的私聊控制器仍然监听到了通知,发送表情
阅读全文
posted @ 2017-11-28 15:31 土匪7
阅读(130)
评论(0)
推荐(0)
编辑
新同事,git又报错Please move or remove them before you merge
摘要: http://blog.csdn.net/hufengvip/article/details/17231133 下面一行搞定
阅读全文
posted @ 2017-11-23 16:30 土匪7
阅读(9222)
评论(0)
推荐(0)
编辑
动画-缩放,旋转 CGAffineTransform
摘要: CGAffineTransform transform; // = CGAffineTransformScale(flyImoji.transform, 8, 8); transform = CGAffineTransformMakeRotation(90); [UIView animateWith
阅读全文
posted @ 2017-11-22 23:52 土匪7
阅读(165)
评论(0)
推荐(0)
编辑
自动布局又出问题-HPPGCTableViewCell
摘要: [self.firstComment mas_makeConstraints:^(MASConstraintMaker *make) { make.top.mas_equalTo(self.summaryLbl.mas_bottom).offset(commentPadding); make.lef
阅读全文
posted @ 2017-11-22 18:44 土匪7
阅读(153)
评论(0)
推荐(0)
编辑
YYLabel计算富文本高度-膜拜大神
摘要: http://www.jianshu.com/p/07cd655fee7e YYTextLayout *layout = [YYTextLayout layoutWithContainerSize:CGSizeMake(SCREEN_WIDTH - commentLeftMargin * 2, CG
阅读全文
posted @ 2017-11-22 17:57 土匪7
阅读(5460)
评论(0)
推荐(0)
编辑
UITableView _endCellAnimationsWithContext崩溃
摘要: http://www.cocoachina.com/bbs/read.php?tid-315222.html 删除cell之前先把数据源也删除一条,直接删除cell会崩溃 下面是正确的姿势: cell.deleteCellBlock = ^(NSIndexPath *deleteIdx){ [wea
阅读全文
posted @ 2017-11-22 15:44 土匪7
阅读(248)
评论(0)
推荐(0)
编辑
上一页
1
···
21
22
23
24
25
26
27
28
29
···
39
下一页
导航
博客园
首页
联系
订阅
管理
公告