Swiftpack.co -  darrarski/swift-composable-presentation as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Navigation helpers for SwiftUI applications build with ComposableArchitecture
.package(url: "https://github.com/darrarski/swift-composable-presentation.git", from: "v0.2.0")

Swift Composable Presentation

Swift v5.4 platforms iOS

πŸ“ Description

Navigation helpers for SwiftUI applications build with ComposableArchitecture.

More info about the concept can be found in the article: Thoughts on SwiftUI navigation.

πŸ› Project structure

ComposablePresentation (Xcode Workspace)
 β”œβ”€ swift-composable-presentation (Swift Package)
 |   └─ ComposablePresentation (Library)
 β”œβ”€ Example (Xcode Project)
 |   └─ Example (iOS Application)
 └─ Tests (Xcode Test Plan)

▢️ Usage

  • Check out the included example app:
    • Open ComposablePresentation.xcworkspace in Xcode.
    • Example source code is contained in Example Xcode project.
    • Run the app using Example build scheme.
  • Add as a dependency to your project:

πŸ›  Develop

  • Use Xcode β‰₯ 12.5.
  • Clone the repository or create a fork & clone it.
  • Open ComposablePresentation.xcworkspace in Xcode
  • Use ComposablePresentation scheme for building the library and running unit tests.
  • If you want to contribute:
    • Create a pull request containing your changes or bugfixes.
    • Make sure to add tests for the new/updated code.

β˜•οΈ Do you like the project?

Buy Me A Coffee

πŸ“„ License

Copyright Β© 2021 Dariusz Rybicki Darrarski

License: MIT


Stars: 6
Last commit: 1 week ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

v0.2.0 - Combining reducers & canceling effects
1 week ago
  • Added a new variant of Reducer.presents modifier that works on CasePaths.
  • Added general-purpose Reducer.combine(with:cancelEffects:) modifier that can be used for more complex states, whenever effect cancellation is important.
  • Refactored code and updated example app.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics