Skip to content

Commit

Permalink
Update usage-overview.md
Browse files Browse the repository at this point in the history
  • Loading branch information
0xLeif authored Sep 26, 2024
1 parent 4c873f4 commit 4abac6d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions documentation/usage-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@ struct SlicingView: View {
- **Define State in Application Extension**: Centralize state management by extending `Application` to define your app’s state and dependencies.
- **Reactive Updates**: SwiftUI automatically updates views when state changes, so you don’t need to manually refresh the UI.

## Conclusion
## Next Steps

These examples demonstrate how to use **AppState**’s key components within SwiftUI views and how to define state and dependencies using an `Application` extension. By leveraging **AppState** in your views, you can effectively manage state, sync data across devices, and securely store sensitive information.
After familiarizing yourself with the basic usage, you can explore more advanced topics:

- Explore using **FileState** for persisting large amounts of data to files in the [FileState Usage Guide](usage-filestate.md).
- Learn about **Constants** and how to use them for immutable values in your app's state in the [Constant Usage Guide](usage-constant.md).
- Investigate how **Dependency** is used in AppState to handle shared services, and see examples in the [State Dependency Usage Guide](usage-state-dependency.md).
- Delve deeper into **Advanced SwiftUI** techniques like using `ObservedDependency` for managing observable dependencies in views in the [ObservedDependency Usage Guide](usage-observeddependency.md).

0 comments on commit 4abac6d

Please sign in to comment.