社区展示
这个展示区展示了 Swift 社区正在讨论的新颖有趣的包。此版块的包选择是一个编辑过程,通过Swift 论坛的这个主题组织,并由 Swift 网站工作组策划。
-
GestureButton作者: Daniel Saidi
GestureButton 让你可以在单个 SwiftUI 按钮中使用多个特定手势的动作。可以为点击、长按和拖动等手势自定义动作,并支持灵活的延迟和超时设置。
在 Swift Package Indexing 第51集 中讨论。
-
JSONPatch作者: Peter Ringset
Swift μ-framework for creating RFC6902-compliant JSON patch objects, supporting operations like add, remove, replace, move, copy, and test using keypaths.
Discussed on Episode 51 of Swift Package Indexing.
-
xctest-dynamic-overlay作者: Point-Free
Swift Issue Reporting enables reporting issues in code as runtime warnings, breakpoints, or assertions, and converts them into test failures, aiding debugging and ensuring test coverage.
Linked to in Issue 671 of iOS Dev Weekly.
-
BijectiveDictionary作者: Jacob Gelman
Swift Bijective Dictionary provides efficient bidirectional key-value access with O(1) complexity, suitable for scenarios requiring fast reverse lookups. It mirrors standard dictionary functionality with additional memory usage.
Nominated via this forum post.
-
SwiftClaude作者: George Lyon
SwiftClaude enables communication with Anthropic’s Claude API, supporting conversations, tool use, vision integration, and prompt caching in Swift applications. It offers async and observable APIs for handling messages.
Discussed on Episode 51 of Swift Package Indexing.
-
SwiftTranslate作者: Hidden Spectrum
Facilitates app localization by translating string catalogs using OpenAI’s GPT models or Google Cloud Translate. Supports multiple languages, complex string variations, and offers a CLI tool and Swift Package Plugin.
Nominated via this forum post.
历史归档
社区展示区于2023年11月正式上线,每月都会推出一系列新的包。 浏览下方的历史归档,查看往期精选的社区展示包: