PageView
PageView copied to clipboard
SwiftUI view enabling navigation between pages of content, imitating the behaviour of UIPageViewController for iOS and watchOS
I may have misunderstood what's happening here, but hopefully a video demo will help show what the issue is. Essentially when I swipe on a page, I can see the...
import PageView at ContentView.swift
It works perfectly if we have a fixed length of data. Unfortunately, it does not support dynamic data. Here is a demo ```swift // viewModel.state.list is fetched after fetchNextPageIfPossible VPageView(selectedPage:...
In the following scenario I can see all three pages (ImageView) at once and the pages even slide behind "MyLabel". Is there a way to stop that from happening? ```swift...
Hi there! Thanks for making this. I wanted to customize the page views a bit more so I added: 1. Modernize `PageScrollState` to be stored as a `@StateObject`, bumping requirement...
I have pages with knobs and sliders and am unable to select them! Would it be possible to... - allow for gestures on pages to override the scrolling gesture? -...
Add possibility to react to page switch from within PageView's subview. Something similar to `onAppear` modifier, for example: ```swift MyPage() .onPageActive { ... } ```
In Demo ContentView File, I define: @State private var isResetGame: Bool = false, and in CustomButtonView @Binding var isResetGame: Bool, see: ` struct ContentView: View { @State var selectedPage: Int...
Great library, thanks to the developer. Any idea how can i make the digital crown work with it?