-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Quick RSS Feed: Minesweeper:适用于 macOS 和 iOS 的极简风格扫雷游戏,开源学习范例 #62
- Loading branch information
1 parent
eba0c43
commit 4d24e4b
Showing
9 changed files
with
124 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Minesweeper:适用于 macOS 和 iOS 的极简风格扫雷游戏,开源学习范例 | ||
=== | ||
|
||
Minesweeper 是一款适用于 macOS 和 iOS 的极简风格扫雷游戏,完全使用 Swift 编写。该项目展示了如何使用 SwiftUI 和 Composable Architecture 构建现代 iOS/macOS 应用。通过高度模块化的设计,每个功能被隔离到独立的模块中,减少了模块间的依赖,使得每个功能可以单独编译和运行。这种设计不仅简化了开发流程,也提高了代码的可测试性。 | ||
|
||
![image](https://github.com/user-attachments/assets/4e6ef89f-df02-4737-943f-6c336d031fc3) | ||
|
||
应用的核心逻辑被放入专门的模块(如 *Core),这些模块与 UI 分离,使得代码可以跨多个平台(如 SwiftUI 和 UIKit)共享,同时也能跨 iOS、macOS、watchOS 和 tvOS 共享。项目还配备了完整的测试套件,包括功能的单元测试、集成测试和端到端测试,确保每个模块都能可靠地工作。 | ||
|
||
Minesweeper 是一个极好的开源项目,适合开发者用作学习范例,了解如何在 Swift 中使用现代架构模式进行开发,尤其是对于希望深入理解模块化、可测试性和跨平台开发的开发者来说,是一个理想的学习资源。 | ||
|
||
👉 https://github.com/RogyMD/TCAminesweeper | ||
|
||
--- | ||
|
||
<p align="center"> | ||
<a href="https://github.com/RogyMD/TCAminesweeper" target="_blank">🔗 查看链接</a> • | ||
<a href="https://github.com/jaywcjlove/quick-rss/issues/new/choose" target="_blank">投稿/推荐/自荐</a> • | ||
<a href="https://wangchujiang.com/quick-rss/feeds/index.html" target="_blank">Quick RSS</a> • | ||
<a href="https://github.com/jaywcjlove/quick-rss/issues/62" target="_blank">#62</a> • | ||
<a href="https://github.com/jaywcjlove" target="_blank">@jaywcjlove</a> | ||
</p> | ||
|
||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.