同步操作将从 jimneylee/JLRubyChina-iPhone 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
请把玩这个客户端源码的同学,不要在Ruby China社区上随意发帖测试,谢谢配合。
#JLRubyChina-iPhone Ruby China社区的iPhone客户端。 希望能给社区的同学带来一点帮助,节省一点时间。欢迎大家在使用过程中,提出改进建议和意见。同时期望更多的同学参与学习交流,维护和优化APP。
XCode5 iOS7.0
1、submodule更新
$ git submodule init
$ git submodule update
注:git submodule update
无法更新依赖库时,请按如下重新添加:
$ git submodule add https://github.com/jimneylee/JLNimbusTimeline.git vendor/JLNimbusTimeline
$ git submodule add https://github.com/jimneylee/MarkdownSyntaxEditor.git vendor/MarkdownSyntaxEditor
$ git submodule add https://github.com/jimneylee/TSEmojiView.git vendor/TSEmojiView
2、CocoaPods更新
$ pod install
注:如需要添加其他依赖库,请修改Podfile
1、帖子列表高亮名字或链接无法点击
官方push到CocoaPods的nimbus 1.0.0版本,存在NIAttributedLabel在UITableViewCell中link无法响应touch的bug 请暂时用Nimbus_fix目录下的5个文件(主要就是修改了NIAttributedLabel文件)替换Pod工程中Nimbus里面对应的这5个文件 参考:http://stackoverflow.com/questions/17467086/using-niattributedlabel-in-uitableviewcell
2、若出现这个问题:'vendor/JLNimbusTimeline' already exists in the index
$ git rm --cached vendor/JLNimbusTimeline
3、若出现这个问题:fatal: not removing 'vendor/JLNimbusTimeline' recursively without -r
$ git rm -r --cached vendor/JLNimbusTimeline
4、若出现这个问题:diff: /../Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
$ [sudo]pod install
5、若出现这个问题:library not found for -lPods
Pods工程中,试着如下修改TARGETS的Pods,今天搞了一上午才解决这个错误问题
6、若git submodule add https://github.com/jimneylee/JLNimbusTimeline.git vendor/JLNimbusTimeline
出现这个问题:
A git directory for 'vendor/JLNimbusTimeline' is found locally with remote(s):
origin https://github.com/jimneylee/JLNimbusTimeline.git
If you want to reuse this local git directory instead of cloning again from
https://github.com/jimneylee/JLNimbusTimeline.git
use the '--force' option. If the local git directory is not the correct repo
or you are unsure what this means choose another name with the '--name' option.
$ cd ./git/modules/vendor
$ rm -rf JLNimbusTimeline
完整项目的单独发布仓库,感觉没必要,已删除。建议不熟悉gitmodule依赖和cocoapods依赖的同学,耐心配置好依赖库。过程中有什么问题,请提交到issue,我会一一解答。
建议不熟悉gitmodule依赖和cocoapods依赖的同学,耐心配置好依赖库,一定会有问题,但是过程中你一定会学习到很多。
这边是我自己本地完整的工程,给大家预留一份,拉到本地可以直接便宜运行。
1、首页热门帖子显示
2、帖子详细浏览、帖子回复列表
3、帖子关注、收藏、@某人
4、回复帖子支持表情选择
5、发帖到指定分类,支持markdown语法
6、分类节点列表查看
7、酷站分组显示
8、会员TOP N查看
9、我的主页,已发帖子、收藏帖子查看
10、Ruby China Wiki
11、更多功能包含:清空缓存、更新检测、给我评分、关于APP
1、与后台API接口修改确认,参见API Problem文档说明
2、发帖添加表情选择
3、帖子列表支持markdown语法解析显示
4、分类节点做分组与排序
5、个人主页详细资料
6、网络2G/3G/WIFI切换提示
7、发布模式下需屏蔽No Point分类
8、增加社交组件分享
9、经公测稳定,提交AppStore审核,方便大家下载使用
10、如果需要的话,添加友盟统计
本项目基于MIT协议发布 MIT: http://rem.mit-license.org
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。