Skip to content

Commit

Permalink
changed description of using .navigation's modifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
sofbix committed Dec 4, 2024
1 parent 41c3468 commit 82a9d83
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@

All notable changes to this project will be documented in this file.

## [1.10.4] - 2024-12-04

#### Added

- New simple example with list and details.
- Description of using .navigation's modifiers.

## [1.10.3] - 2024-11-01

#### Added
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ Just open `Example/NavigationExample/NavigationExample.xcodeproj` from Xcode and
## Using

Use `NavigationViewStorage` instead of `NavigationView` or `NavigationStack`.
In parent view use modifiers `.navigation(..)` with string `id` param or without (for using struct name) in addition features:
In parent view use modifiers `.navigation(..)` with string `id` param or without (for using struct name) in addition features as in the code below.

- Note that `.navigation(..)` applies to all content in the view being navigated from. This modifier should not be allowed to apply to child elements of that view, such as childs of ListView, LazyView and each others. Better use `.navigation(..)` below of all content of that view as in the code below.


```swift

Expand Down

0 comments on commit 82a9d83

Please sign in to comment.