File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 4040
4141[ @Barney ] ( https://github.com/BarneyZhaoooo ) :文章介绍了即将发布的 UIKitNavigation 库,这是一个为 UIKit 设计的状态管理和导航工具库,灵感来源于 SwiftUI。它包括状态观察、双向绑定和状态驱动导航等功能,旨在简化 UIKit 应用开发。此外,库的工具基于纯 Swift 构建,具有跨平台潜力。
4242
43+ ### 🐕 [ node-swift: Write NodeJS native modules in Swift] ( https://github.com/kabiroberai/node-swift )
44+
45+ [ @EyreFree ] ( https://github.com/EyreFree ) :NodeSwift 是一个让 Swift 与 Node.js 无缝对接的库。它具有以下优点:
46+
47+ - 安全:充分利用了 Swift 的内存安全和自动引用计数,无需手动管理内存,避免了内存相关的问题;
48+ - 简单:提供了不同层次的 API,适应不同的需求,并且使用渐进式的方式让开发者循序渐进地使用;
49+ - 原生:NodeSwift 的 API 设计遵循 Swift 的惯用法,例如使用 Swift 的 Dynamic Member Lookup 特性让互操作更加自然;
50+ - 全面:在 Swift 中可以访问几乎所有的 Node.js API,包括操作 JavaScript 对象和调度事件循环等;
51+ - 跨平台:支持 macOS、Linux、Windows 甚至 iOS 等多个平台;
52+ - 高效:直接在宿主平台上运行 Swift 代码,相比 WebAssembly 拥有更好的性能,且可以直接访问系统底层 API。
53+
54+ NodeSwift 是 Swift 与 Node.js 互操作的优秀方案,帮助开发者用 Swift 构建 Node.js 模块,或在 Swift 应用中引入 Node.js 的生态,为相关应用开发带来更多可能性。
55+
4356### 🐎 [ Getting started with Swift Testing] ( https://www.polpiella.dev/swift-testing )
4457[ @Smallfly ] ( https://github.com/iostalks ) :Swift Testing 是由 Apple 在 2024 年的 WWDC 上介绍的现代、表达性强、基于宏的测试库,旨在替代 XCTest 用于编写单元测试。文章详细介绍了如何开始使用 Swift Testing,如何使用它编写测试,以及如何将现有的 XCTest 测试迁移到新库中。
4558
You can’t perform that action at this time.
0 commit comments