Giter Site home page Giter Site logo

superdoliant / swiftpamphletapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ming1016/swiftpamphletapp

0.0 0.0 0.0 2.73 MB

戴铭的开发小册子,一本活的开发手册。使用 SwiftUI + SwiftData + Swift Concurrency Aysnc/Await Actor + GitHub API 开发的 macOS 应用

License: MIT License

Shell 0.20% Swift 46.24% HTML 53.57%

swiftpamphletapp's Introduction

戴铭的开发小册子 6.0

Swift开发的手册,是个 macOS 程序,已上线 App Store 点击安装,后面更新会方便很多。小册子文字版 《戴铭的 Swift 小册子

使用 SwiftData、Observable、NavigationSplitView 重构了戴铭的开发小册子,可自己添加管理资料。

本版本解决了以下几个问题。

第一个,存储的问题。以前使用的是三方数据库,写法比较繁琐且和 SwiftUI 结合的不好。现在用的是 SwiftData,写法简洁了很多,代码也好维护了。更多技术重构细节可以直接查看代码。

第二,手册内容和资料之间的关系。以前比较隔离,资料和手册没有联系。现在采用的是每个知识点都可以添加相关资料,这样更利于知识的积累。

第三,Github 库和开发者信息的管理问题。以前添加和删除都在代码层面,现在可以直接在 App 内进行。

这三个问题解决后,可以将更多精力花在内容的更新增加以及 App 使用体验上了。

截屏2024-05-07 18 54 42

截屏2024-05-07 18 48 33

截屏2024-05-07 18 49 43

截屏2024-05-07 19 06 30

截屏2024-05-07 19 08 18

swiftpamphletapp's People

Contributors

ming1016 avatar powenn avatar sinter0 avatar feuvan avatar kam-to avatar wtracyliu avatar cczallen avatar chenxiaoqiang03 avatar xugj-gits avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.