会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
levyleo
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
10
下一页
2016年11月2日
Scheme test is not currently configured for the clean action.
摘要: 原因:git中 xcshareddata 未提交在git中将xcshareddata提交即可
阅读全文
posted @ 2016-11-02 10:54 levyleo
阅读(421)
评论(0)
推荐(0)
2016年11月1日
carthage 简单使用步骤
摘要: brew install carthage 切至项目目录: cd xxx 创建Cartfile文件 vi Cartfile 填写依赖 git "https://xxxxx" "master" 分支 github "username/xxx"
阅读全文
posted @ 2016-11-01 19:35 levyleo
阅读(195)
评论(0)
推荐(0)
OC使用inline替代宏
摘要: CG_INLINE void GCDDelay(int64_t delayInSeconds,dispatch_block_t block){ dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, delayInSeconds NSEC
阅读全文
posted @ 2016-11-01 18:50 levyleo
阅读(813)
评论(0)
推荐(0)
2016年10月31日
Module compiled with Swift 3.0 cannot be imported in Swift 3.0.1
摘要: Cartfile:github "SwiftyJSON/SwiftyJSON"got error:Module compiled with Swift 3.0 cannot be imported in Swift 3.0.1fixed it by adding 'master' on the end in cartfile:github "SwiftyJSON/SwiftyJSON" "mast...
阅读全文
posted @ 2016-10-31 16:05 levyleo
阅读(543)
评论(0)
推荐(0)
2016年10月27日
根据headerView位置改变headerView颜色(collectionView/tableview)
摘要: 滑动时,tableview中的headerView 的frame不断改变,collectionView的headerView的center不断改变.sotableview:-(void)setFrame:(CGRect)frame{ [super setFrame:frame]; CGRect rect = [self.superview convertRect:frame toVi...
阅读全文
posted @ 2016-10-27 20:37 levyleo
阅读(359)
评论(0)
推荐(0)
collectionView/tableview刷新时关闭动画无效
摘要: collectionView/tableview reloadSections/reloaddata时去掉动画无效时可以尝试使用[UIView performWithoutAnimation:^{ [_collectionView reloadSections:[NSIndexSet indexSetWithIndex:2]]; //刷新操作 }];
阅读全文
posted @ 2016-10-27 19:50 levyleo
阅读(1670)
评论(0)
推荐(0)
CSStickyHeaderFlowLayout collectionView headerView 悬浮
摘要: github:https://github.com/levyleo/CSStickyHeaderFlowLayout iOS 10 使用时会出现崩溃:https://github.com/CSStickyHeaderFlowLayout/CSStickyHeaderFlowLayout/issues
阅读全文
posted @ 2016-10-27 17:13 levyleo
阅读(367)
评论(0)
推荐(0)
2016年10月25日
node.js 端口号被占用解决方法
摘要: sudo pkill node
阅读全文
posted @ 2016-10-25 19:39 levyleo
阅读(412)
评论(0)
推荐(0)
2016年10月22日
EventSource (node.js 与 OC)
摘要: node.js服务器代码: OC代码(需要借助封装的类:EventSource)
阅读全文
posted @ 2016-10-22 16:54 levyleo
阅读(658)
评论(0)
推荐(0)
2016年10月18日
Error when running Swift3 in REPL
摘要: fix: link
阅读全文
posted @ 2016-10-18 17:53 levyleo
阅读(184)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
10
下一页
公告