Releases: fermoya/SwiftUIPager
2.0.2-beta.1
Fixes
- #157 Avoid animation while dragging
2.0.0
SwiftUIPager
stops supporting a binding in its initializer and will take a Page
instead. This allows Pager
to move even more smoothly than before. Use one of the convenience method to initialize a new Page
: firstPage()
or withIndex(_:)
. It's not required but if modifying the page index
was need then the object must be wrapped into StateObject
or ObservedObject
depending on the needs.
Features
- New modifier
onPageWillChange
Fixes
2.0.0-beta.1
SwiftUIPager
stops supporting a binding in its initializer and will take a Page
instead. This allows Pager
to move even more smoothly than before. Use one of the convenience method to initialize a new Page
: firstPage()
or withIndex(_:)
. It's not required but if modifying the page index
was need then the object must be wrapped into StateObject
or ObservedObject
depending on the needs.
Features
- New modifier
onPageWillChange
Fixes
1.14.2-beta.2
1.14.2-beta.1
Fixes
- Workaround to use
StateObject
if possible
1.14.1
1.14.1-beta.1
Fixes
- #164 infinite loop with
@Published
1.14.0
Features
- New modifier to switch back to
singlePagination
and provide a revealratio
- New modifiers to keep track of the dragging
onDraggingChanged
andonDraggingEnded
- New modifier to disable
bounces
Fixes
- Smoother scroll
1.14.0-beta.5
Features
- New modifier to switch back to
singlePagination
and provide a revealratio
- New modifiers to keep track of the dragging
onDraggingChanged
andonDraggingEnded
- New modifier to disable
bounces
Fixes
- Smoother scroll
1.14.0-beta.4
Features
- New modifier to switch back to
singlePagination
and provide a revealratio
- New modifiers to keep track of the dragging
onDraggingChanged
andonDraggingEnded
- New modifier to disable
bounces