nonameplum

swift-navigation-swiftui

SwiftUI navigation tools: type-safe alerts, sheets, popovers, and navigation destinations

nonameplum 17 2 Updated 8mo ago
GitHub

Install

npx skillscat add nonameplum/agent-skills/swift-navigation-swiftui

Install via the SkillsCat registry.

About this skill

This skill provides SwiftUI navigation tools including type-safe alerts, sheets, popovers, and navigation destinations. It addresses the complexity and lack of type safety in standard SwiftUI navigation APIs by offering more ergonomic and precise alternatives. Developers should use it when building SwiftUI applications that require robust, testable navigation flows with compile-time safety guarantees.

SKILL.md

SwiftUINavigation

Tools for making SwiftUI navigation simpler, more ergonomic and more precise.

Documentation Structure

Tools

  • SwiftUI navigation (Articles/SwiftUINavigationTools.md): Learn more about SwiftUI's tools for navigations, and how this library improves upon them.
  • Navigation links and destinations (Articles/Navigation.md): Learn how to drive navigation in NavigationView and NavigationStack in a concise and testable
  • Sheets, popovers, and covers (Articles/SheetsPopoversCovers.md): Learn how to present sheets, popovers and covers in a concise and testable manner.
  • Alerts and dialogs (Articles/AlertsDialogs.md): Learn how to present alerts and confirmation dialogs in a concise and testable manner.
  • Bindings (Articles/Bindings.md): Learn how to manage certain view state, such as @FocusState directly in your observable classes.

Usage Notes

  • Documentation is organized progressively from getting started to advanced topics
  • Start with the Introduction or Getting Started section
  • Consult specific guides for detailed information

License & Attribution

This skill contains content converted from DocC documentation format.