同步操作将从 jimneylee/JLRubyChina-iPhone 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
A short and simple permissive license with conditions only requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.
Ruby China社区接口,社区有:Ruby China、Tester Home
请把玩这个客户端源码的同学,不要在上面几个社区上随意发帖测试,谢谢配合。
##JLRubyChina-iPhone 希望能给上面几个社区活跃的同学带来一点帮助,节省一点时间。欢迎大家在使用过程中,提出改进建议和意见。同时期望更多的同学参与学习交流,维护和优化APP。
XCode5 iOS7.x & iOS6.x
1、下载最近的Release版本,直接编译即可安装。
2、fork后clone到本地,手工添加依赖库安装方法
$ 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
$ pod install
注:如需要添加其他依赖库,请修改Podfile
vendor
目录下的Nimbus_fixbug
和JSONKit_fixerror
中的文件,替换pod添加的对应文件。
Nimbus_fixbug
是为了解决帖子列表高亮名字或链接无法点击。
JSONKit_fixerror
为了解决编译引起的错误和警告。其实这个JSONKit是无用的,但是由于JSONKit是Nimbus的submodule递归依赖引入,所以在Nimbus没有发布新的版本,暂时只能这样处理。之前考虑过'git submodule add'依赖nimbus,去掉这个JSONKit库,但是会是工程膨胀,得不偿失。 有问题,请添加到issue中!
4、通过'JLRubyChina.xcworkspace'打开项目,也可以自定义xopen命令便捷打开
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、如果JLNimbusTimeline里面编译出错,git submodule update
无法更新时,请删除JLNimbusTimeline重新添加,步骤如下:
.git/config
删除依赖JLNimbusTimeline相关,vi .git/config
.git/modules/vendor
下JLNimbusTimeline目录,rm -rf .git/modules/vendor/JLNimbusTimeline
rm -rf vendor/JLNimbusTimeline
git submodule add
对应的cache,git rm --cached vendor/JLNimbusTimeline
git submodule add https://github.com/jimneylee/JLNimbusTimeline.git vendor/JLNimbusTimeline
5、若出现这个问题: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
6、若出现这个问题:library not found for -lPods
解决方法1、没有通过pod update生成的JLRubyChina.xcworkspace来打开工程
解决方法2、Pods工程中,试着如下修改TARGETS的Pods,今天搞了一上午才解决这个错误问题
7、若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
今天研究了多个git server仓库同步,把项目同步到osc和gitcafe,不熟悉如何同步到多个git server,可以参考我的这篇blog,仓库地址分别如下
github:https://github.com/jimneylee/JLRubyChina-iPhone
gitcafe:https://gitcafe.com/jimneylee/JLRubyChina-iPhone
oschina:http://git.oschina.net/jimneylee/JLRubyChina-iPhone
csdn:https://code.csdn.net/jimney_ljj/JLRubyChina-iPhone
使用相同的ssh key,同步还是很方便的,后面考虑进一步精简步骤,自动化发布到各个git server
1、首页热门帖子显示
2、帖子详细浏览、帖子回复列表
3、帖子关注、收藏、@某人
4、回复帖子支持表情选择
5、发帖到指定分类,支持markdown语法
6、分类节点列表查看
7、酷站分组显示
8、会员TOP N查看
9、我的主页,已发帖子、收藏帖子查看
10、Ruby China Wiki
11、更多功能包含:清空缓存、更新检测、给我评分、关于APP
12、帖子列表支持markdown语法解析显示(仅使用于7.x)
13、网络2G/3G/WIFI切换提示
1、经公测稳定,提交AppStore审核,方便大家下载使用 2、与后台API接口修改确认,参见API Problem文档说明
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。