{"id":21436831,"url":"https://github.com/tangqi92/myone","last_synced_at":"2025-07-14T14:33:34.813Z","repository":{"id":99626741,"uuid":"49421685","full_name":"tangqi92/MyOne","owner":"tangqi92","description":"【已不再维护】精仿《一个》 ONE for iOS","archived":false,"fork":false,"pushed_at":"2017-11-15T09:07:43.000Z","size":49129,"stargazers_count":15,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-10-26T00:38:02.039Z","etag":null,"topics":["one"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tangqi92.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-01-11T11:28:42.000Z","updated_at":"2018-07-20T12:15:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"f87429de-d3fb-46c9-80dc-5305d7d51642","html_url":"https://github.com/tangqi92/MyOne","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangqi92%2FMyOne","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangqi92%2FMyOne/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangqi92%2FMyOne/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangqi92%2FMyOne/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tangqi92","download_url":"https://codeload.github.com/tangqi92/MyOne/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225981809,"owners_count":17554923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["one"],"created_at":"2024-11-23T00:16:01.622Z","updated_at":"2024-11-23T00:16:02.337Z","avatar_url":"https://github.com/tangqi92.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MyOne - 已不再维护\n\n项目来源：https://github.com/meilbn/MyOne-iOS\n\n本项目以此为基础进行二次开发（其实，更多是学习啦~）\n\n## 关于\n\n与 [官方的 App](http://wufazhuce.com/) 区别暂时有：\n\n1. 没有广告 — 太棒了。\n2. 没有阅读限制 — 官方是首页、文章、问题、东西都限制为查看最近的 10 条。\n3. 暂时没做登录 — 收藏应该是存在本地 (待定)。\n4. ~~暂时没做分享功能。~~\n\n获取过的数据会先存在本地，下次查看也是先加载本地的缓存 (还没想好是否真的要这样，感觉有些数据具有时效性，加载本地的话，有些数据可能已经过时了，比如点赞数)。  \n\n获取最新的数据的话，暂时还没想好要怎么覆盖好一点，这个后面慢慢想。\n\n## 问题\n\n1. 开启``夜间模式``之后，第一次打开``文章``和``问题``模块的时候，会有白色的闪屏，估计原因在于这两个界面是用 UIWebView 的形式展示数据的 (首页、东西模块是没有这个问题的)，但是尝试过设置 UIWebView 和 UIWebView 的 UIScrollView 子视图的背景色都没有用。\n2. ``问题模块``，在夜间模式的时候，显示的两个图片样式不是夜间模式的样式，在 HTML 代码里面引用的是官方手机版网页上的图片。\n3. ``问题模块``，用官方接口只能获取到最近10天的数据，之后获取过来的数据就是空的了，现在的解决办法暂时是直接显示官方“问题”模块对应的当天的手机版网页。\n4. 不能``点赞``，因为官方点赞接口里面有一个参数： ``strDeviceId``，看名字应该是设备的唯一标识，64位长度，我尝试过获取设备的唯一标识然后加密，没有成功获取到和官方的请求接口中相同的值，都是在我自己的 iPhone 5S 上测试的。\n5. ``个人模块``没有做，主要也是因为一个参数的问题，官方接口中有一个参数： ``strUi``，应该是登录用户的 id。\n6. ~~阅读第一篇文章、问题的时候，点击状态栏，UIWebView 是可以滚动到顶部的，但是滑动查看其他日期的数据之后，点击状态栏就不能使界面滚动到顶部了。~~ ___(已解决，解决办法在[这里](http://www.jianshu.com/p/836cdd481982)，感谢作者！)___\n7. ~~首页、文章、问题、东西界面，右拉刷新还没有做。~~ ___(已完成，首页已经测试，已发现问题，东西也一样，其他模块还有待测试。)___\n8. 首页、东西模块发现 Bug，要么漏掉一天，要么有一天重复了，这个还有待修复。\n\n## 截图\n\n### 普通模式\n\n#### 首页\n\n\u003cimg src=\"/Screenshot/Home.gif\" alt=\"screenshot\" title=\"screenshot\" width=\"365\" height=\"667\" /\u003e  \u003cimg src=\"/Screenshot/Thing.gif\" alt=\"screenshot\" title=\"screenshot\" width=\"365\" height=\"667\" /\u003e  \n\n#### 文章\n\n\u003cimg src=\"/Screenshot/Images/Reading_0.png\" alt=\"screenshot\" title=\"screenshot\" width=\"365\" height=\"667\" /\u003e  \u003cimg src=\"/Screenshot/Images/Reading_1.png\" alt=\"screenshot\" title=\"screenshot\" width=\"365\" height=\"667\" /\u003e  \n\n#### 问题\n\n\u003cimg src=\"/Screenshot/Images/Question_0.png\" alt=\"screenshot\" title=\"screenshot\" width=\"365\" height=\"667\" /\u003e  \u003cimg src=\"/Screenshot/Images/Question_1.png\" alt=\"screenshot\" title=\"screenshot\" width=\"365\" height=\"667\" /\u003e  \n\n#### 东西\n\n\u003cimg src=\"/Screenshot/Images/Thing.png\" alt=\"screenshot\" title=\"screenshot\" width=\"365\" height=\"667\" /\u003e  \u003cimg src=\"/Screenshot/Images/Personal.png\" alt=\"screenshot\" title=\"screenshot\" width=\"365\" height=\"667\" /\u003e  \n\n#### 个人\n\n\u003cimg src=\"/Screenshot/Images/Settings.png\" alt=\"screenshot\" title=\"screenshot\" width=\"365\" height=\"667\" /\u003e  \u003cimg src=\"/Screenshot/Images/About.png\" alt=\"screenshot\" title=\"screenshot\" width=\"365\" height=\"667\" /\u003e  \n\n### 夜间模式\n\n#### 文章\n\n\u003cimg src=\"/Screenshot/NightMode/Night_Mode_Reading_0.png\" alt=\"screenshot\" title=\"screenshot\" width=\"365\" height=\"667\" /\u003e  \u003cimg src=\"/Screenshot/NightMode/Night_Mode_Reading_1.png\" alt=\"screenshot\" title=\"screenshot\" width=\"365\" height=\"667\" /\u003e    \n\n#### 问题\n\n\u003cimg src=\"/Screenshot/NightMode/Night_Mode_Question.png\" alt=\"screenshot\" title=\"screenshot\" width=\"365\" height=\"667\" /\u003e  \u003cimg src=\"/Screenshot/NightMode/Night_Mode_Thing.png\" alt=\"screenshot\" title=\"screenshot\" width=\"365\" height=\"667\" /\u003e  \n\n#### 个人\n\n\u003cimg src=\"/Screenshot/NightMode/Night_Mode_Personal.png\" alt=\"screenshot\" title=\"screenshot\" width=\"365\" height=\"667\" /\u003e  \u003cimg src=\"/Screenshot/NightMode/Night_Mode_Settings.png\" alt=\"screenshot\" title=\"screenshot\" width=\"365\" height=\"667\" /\u003e  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangqi92%2Fmyone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftangqi92%2Fmyone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangqi92%2Fmyone/lists"}