{"id":19302245,"url":"https://github.com/apestalk/epub","last_synced_at":"2025-10-08T14:51:03.268Z","repository":{"id":86574588,"uuid":"127767818","full_name":"ApesTalk/Epub","owner":"ApesTalk","description":"一步一步学习如何制作一个EPub电子书阅读器。How to make a EPub e-book reader step by step.","archived":false,"fork":false,"pushed_at":"2023-10-23T10:00:44.000Z","size":17231,"stargazers_count":25,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T10:33:44.964Z","etag":null,"topics":["e-book","e-reader","epub","ios","objective-c"],"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/ApesTalk.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":"2018-04-02T14:31:44.000Z","updated_at":"2025-01-15T04:04:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"a787140f-5103-4f62-a8c8-b4d17ef24174","html_url":"https://github.com/ApesTalk/Epub","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ApesTalk/Epub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApesTalk%2FEpub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApesTalk%2FEpub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApesTalk%2FEpub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApesTalk%2FEpub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ApesTalk","download_url":"https://codeload.github.com/ApesTalk/Epub/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApesTalk%2FEpub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278963747,"owners_count":26076542,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["e-book","e-reader","epub","ios","objective-c"],"created_at":"2024-11-09T23:20:59.455Z","updated_at":"2025-10-08T14:51:03.252Z","avatar_url":"https://github.com/ApesTalk.png","language":"Objective-C","readme":"# EPub\n\n一步一步学习如何制作一个EPub电子书阅读器。How to make a EPub e-book reader step by step.\n\n目录说明：\n\n- Explore EPub电子书阅读器的探索历程，包括对同类APP的分析以及一步步实现的小目标。\n- Code 代码实现。\n\n\n进度：\n\n- 实现epub文件的解压和解析。\n- 通过css分栏以及修改css和html实现章节的“分页”效果。\n- 仿微信读书从书架打开一本书和合上一本书的效果。\n\n目前遇到的问题：\n\nUIPageViewController本身和UIScrollView嵌套后会造成手势冲突而且非常难以控制，可以看我这个demo[UIPageViewControllerBug](https://github.com/ApesTalk/UIPageViewControllerBug)。当时做类似今日头条效果的时候一开始打算用UIPageViewController来做的，后来发现UI复杂的情况下问题太多了。后面调研发现今日头条使用UICollectionView来实现的，效果比较好。\n\n后面抽时间会尝试用新的方式实现，敬请期待！\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapestalk%2Fepub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapestalk%2Fepub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapestalk%2Fepub/lists"}