Swiftpack.co - Swift Packages by fredyshox

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by fredyshox

fredyshox/PageView 1.5.1
SwiftUI view enabling navigation between pages of content, imitating the behaviour of UIPageViewController for iOS and watchOS
⭐️ 567
🕓 1 year ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Fixes for compiler warnings
1 year ago
* Add id: \.self to remove the ForEach warnings * Update functionBuilder to resultBuilder Pull request #24 by @ezefranca
Bug fixes & new features
2 years ago
* ForEach-style init (Support ForEach #17) * Fix drag animation (On watchOS: drag ended animation starts from full previous screen #12) * Ability to choose drag gesture type using PageGestureType * `PageScrollState` is `@StateObject` instead of `@ObservableObject`, which prevents memory leaks * Bumped deployment target to iOS 14 and watchOS 7 Some of changes/features here are based on work of @gregcotten in #13
Changed framework's bundle identifier in xcodeproj
3 years ago
Changed framework's bundle identifier, which caused inability to run apps on device when using Carthage (https://github.com/Carthage/Carthage/issues/2559#issuecomment-539665460)
Binding for selected page
3 years ago
New features: * ability to programmatically control selected page using `selectedPage` Binding * `pageSwitchThreshold` parameter, which control distance that needs to be scrolled, to qualify as page switch
Fixed issue with PageControlTheme init being internal
3 years ago
Fixed issue with PageControlTheme init being internal.
Fixed issue with PageControl offset
3 years ago
Fixed issue with `PageControlTheme.offset` not being used. API changes: * `PageControlTheme.offset` -> `xOffset` for vertical mode & `yOffset` for horizontal mode
Fixed issue with gesture precedence
3 years ago
Fixed issue with gesture precedence (#2), causing button tap to be recognized before DragGesture
Performance improvement
4 years ago
Performance improvement by removing AnyView/Group components causing scrolling not being smooth on slower devices like Apple Watch. * New API: `HPageView` and `VPageView` according to chosen scroll direction * Ability to specify pages using function builder syntax style
PageControl alignment
4 years ago
Added ability to control alignment of PageControl component inside PageView.
Vertical PageView
4 years ago
* vertical PageView option * slowed down scrolling when draging out of bounds (currently linearly)
iOS watchOS

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics