Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
boscojwho authored Dec 23, 2023
1 parent 7bba22b commit dcd816d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@
- Allows apps to customize tab re-selection behaviour (e.g. scroll-to-top before dismissing view).

# Installation
[Swift Package URL]
## Swift Package Manager
Add `TabStar` to your Xcode project by adding a package dependency to your `Package.swift` file.
```
dependencies: [
.package(url: "https://github.com/boscojwho/TabStar.git", from: "1.0.0")
]
```
Alternatively, open your Xcode project, and navigate to `File > Swift Packages > Add Package Dependency...` and enter `https://github.com/boscojwho/TabStar.git`.

# Why?
Doesn’t SwiftUI already provide a way to programmatically manipulate a `NavigationStack`’s path whether you use `NavigationPath` or a custom path type?
Expand Down

0 comments on commit dcd816d

Please sign in to comment.