Skip to content

Commit 2f63795

Browse files
authored
Merge pull request #2 from samdawes/readme-updates
Readme updates
2 parents fb53ae6 + 9f3feb4 commit 2f63795

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# SegmentedControlPageView
22
**Offers a seamless integration of a segmented control and a page view in native SwiftUI applications**. Users can navigate between pages by swiping or tapping on segments in the control. Compatible with iOS 13+ and visionOS 1+.
3+
![2024-02-18 18 34 46](https://github.com/samdawes/SegmentedControlPageView/assets/12502222/23e2b34f-e332-44e8-a47f-c463710e21db)
4+
![2024-02-18 18 54 14](https://github.com/samdawes/SegmentedControlPageView/assets/12502222/bcf97d3e-2563-4bcc-906c-fa4a2f54e264)
35

46
## Usage
57
The following example shows a possible onboarding process. The segmented control has three segments with the labels `Welcome`, `Features`, and `Next Steps` that correspond to three custom SwiftUI views: `WelcomeView()`, `FeaturesView()`, and `NextStepsView()`.
@@ -31,7 +33,7 @@ In Xcode go to Project -> Your Project Name -> `Package Dependencies` -> Tap _Pl
3133
```
3234
https://github.com/samdawes/SegmentedControlPageView
3335
```
34-
or adding it to the `dependencies` of your `Package.swift`:
36+
or add it to the `dependencies` section in your `Package.swift` file:
3537

3638
```swift
3739
dependencies: [

0 commit comments

Comments
 (0)