{"id":13459361,"url":"https://github.com/ming1016/SwiftPamphletApp","last_synced_at":"2025-03-24T16:31:44.634Z","repository":{"id":37481995,"uuid":"427532379","full_name":"ming1016/SwiftPamphletApp","owner":"ming1016","description":"戴铭的开发小册子，一本活的开发手册。使用 SwiftUI + SwiftData + Swift Concurrency Aysnc/Await Actor + GitHub API 开发的 macOS 应用","archived":false,"fork":false,"pushed_at":"2025-01-23T03:28:38.000Z","size":4494,"stargazers_count":2437,"open_issues_count":5,"forks_count":418,"subscribers_count":33,"default_branch":"main","last_synced_at":"2025-03-20T08:07:35.489Z","etag":null,"topics":["combine","concurrency","github","github-api","swift","swiftui"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/ming1016.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-13T00:32:37.000Z","updated_at":"2025-03-17T16:41:00.000Z","dependencies_parsed_at":"2024-11-10T15:25:49.639Z","dependency_job_id":"8ce84e9a-54b8-4969-a922-4d09c3c43ad5","html_url":"https://github.com/ming1016/SwiftPamphletApp","commit_stats":{"total_commits":409,"total_committers":12,"mean_commits":"34.083333333333336","dds":"0.18092909535452317","last_synced_commit":"9ab7fded01c4cd625cbcff29bba39f35fb27b0f7"},"previous_names":["kwaiappteam/swiftpamphletapp"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ming1016%2FSwiftPamphletApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ming1016%2FSwiftPamphletApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ming1016%2FSwiftPamphletApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ming1016%2FSwiftPamphletApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ming1016","download_url":"https://codeload.github.com/ming1016/SwiftPamphletApp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245308682,"owners_count":20594291,"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":["combine","concurrency","github","github-api","swift","swiftui"],"created_at":"2024-07-31T09:01:18.472Z","updated_at":"2025-03-24T16:31:44.621Z","avatar_url":"https://github.com/ming1016.png","language":"Swift","readme":"# 戴铭的开发小册子 6.x\n[![Available on the App Store](https://ming1016.github.io/qdimg/badge-download-on-the-mac-app-store.svg)](https://apps.apple.com/cn/app/id1609702529)\n\nSwift开发的手册，是个 macOS 程序，已上线macOS应用商店，[点击安装](https://apps.apple.com/cn/app/%E6%88%B4%E9%93%AD%E7%9A%84%E5%BC%80%E5%8F%91%E5%B0%8F%E5%86%8C%E5%AD%90/id1609702529?mt=12)，或直接在商店搜索“戴铭”关键字。安装应用方便更新程序。在我[博客](https://starming.com)上会有部分文字内容可以看。有什么想说的，来我的 [Discord](https://discord.gg/sBksuXjQmj) 吧\n\n本手册使用 SwiftData、Observable、NavigationSplitView 进行了重构，现在可自己添加管理资料，和知识点做关联。\n\n内容主要包含\n\n- Apple 技术知识点以及示例\n\n功能主要包含\n\n- 手册书签收藏\n- 资料收集整理（参考[我是怎么做个人知识管理（PKM）的，从史前时代备忘录、Sublime，经历了Evernote，Markdown兴起，Bear的优雅，Notion革命，飞书语雀，Obsidian、Flomo，到最后使用卢曼卡片盒笔记法串起了流程](https://mp.weixin.qq.com/s/PbUOxURK57eIeSnuE1mh4g)这篇文章，里面有提及如何使用小册子的资料整理功能）\n- 资料网页离线保存（防止网络资料源丢失）\n- 知识点和资料关联\n- 手册内容和资料可搜索\n- Github 开发者和仓库信息添加管理（在设置里添加 token）\n\n本应用知识点目前主要有 Swift 基础语法，SwiftUI，SwiftData，小组件等知识内容。更多 iOS 开发资料，信息以及开发者活动可以关注 [XR 基地](https://xreality.zone) 和 [SwiftGG](https://swiftgg.team)。SwiftGG 的愿景是致力于成为中国与海外技术社区的桥梁，为中国开发者创造展示自我走向世界舞台的机会。\n\n小册子6.x版本解决了以下几个问题。\n\n第一个，存储的问题。以前使用的是三方数据库，写法比较繁琐且和 SwiftUI 结合的不好。现在用的是 SwiftData，写法简洁了很多，代码也好维护了。更多技术重构细节可以直接查看代码。\n\n第二，手册内容和资料之间的关系。以前比较隔离，资料和手册没有联系。现在采用的是每个知识点都可以添加相关资料，这样更利于知识的积累。\n\n第三，Github 库和开发者信息的管理问题。以前添加和删除都在代码层面，现在可以直接在 App 内进行。\n\n这三个问题解决后，可以将更多精力花在内容的更新增加以及 App 使用体验上了。\n\n![截屏2024-05-07 18 54 42](https://github.com/ming1016/SwiftPamphletApp/assets/251980/9514574b-0f20-4ff5-848c-9b5130f03b81)\n\n![截屏2024-05-07 18 48 33](https://github.com/ming1016/SwiftPamphletApp/assets/251980/f748a32d-7f4d-4327-a4b5-97a65ca754ec)\n\n![截屏2024-05-07 18 49 43](https://github.com/ming1016/SwiftPamphletApp/assets/251980/bb147ab7-5cbc-4263-a023-b924054a0f4b)\n\n![截屏2024-05-07 19 06 30](https://github.com/ming1016/SwiftPamphletApp/assets/251980/f590cbe5-8a94-41e3-8260-6492e3acf46e)\n\n![截屏2024-05-07 19 08 18](https://github.com/ming1016/SwiftPamphletApp/assets/251980/89b34786-44b1-4fcd-bdf6-8ad92ea80d4e)\n\n\n","funding_links":[],"categories":["Swift"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fming1016%2FSwiftPamphletApp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fming1016%2FSwiftPamphletApp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fming1016%2FSwiftPamphletApp/lists"}