SwiftUIPager provides a Pager component built with SwiftUI native components. Pager is a view that renders a scrollable container to display a handful of pages. These pages are recycled on scroll, so you don't have to worry about memory issues. Pager will load just a handful of items, enough to beatifully scroll along.
Create vertical or horizontal pagers, align the cards, change the direction of the scroll, animate the pagination... Pager lets you do anything you want.
pod 'SwiftUIPager'
In Xcode:
github "fermoya/SwiftUIPager"
Download SwiftUIPager.xcframework
Create a group Frameworks inside your project and drag and drop SwiftUIPager.xcframework
Make sure in your target's build phases that the option Embed & Sign is selected:
NavigationLink and Button might work oddly with Pager if pagingPriority(.simultaneous) is used in SwiftUI 1.0 and iOS 13. This issue isn't reproducible in iOS 14 beta. For more information, follow this link.If you happen to encounter any problem or you have any suggestion, please, don't hesitate to open an issue or reach out to me at fmdr.ct@gmail.com.
This is an open source code project, so feel free to collaborate by raising a pull-request or sharing your feedback.
If you love this library, understand all the effort it takes to maintain it and would like to support me, you can buy me a coffee by following this link:
You can also sponsor me by hitting the GitHub Sponsor button. All help is very much appreciated.
SwiftUIPager is available under the MIT license. See the LICENSE file for more info.
129 followers · starred Mar 2025
93 followers · starred Feb 2021
1,033 followers · starred Mar 2020
117 followers · starred Feb 2024
SwiftUIPager provides a Pager component built with SwiftUI native components. Pager is a view that renders a scrollable container to display a handful of pages. These pages are recycled on scroll, so you don't have to worry about memory issues. Pager will load just a handful of items, enough to beatifully scroll along.
Create vertical or horizontal pagers, align the cards, change the direction of the scroll, animate the pagination... Pager lets you do anything you want.
pod 'SwiftUIPager'
In Xcode:
github "fermoya/SwiftUIPager"
Download SwiftUIPager.xcframework
Create a group Frameworks inside your project and drag and drop SwiftUIPager.xcframework
Make sure in your target's build phases that the option Embed & Sign is selected:
NavigationLink and Button might work oddly with Pager if pagingPriority(.simultaneous) is used in SwiftUI 1.0 and iOS 13. This issue isn't reproducible in iOS 14 beta. For more information, follow this link.If you happen to encounter any problem or you have any suggestion, please, don't hesitate to open an issue or reach out to me at fmdr.ct@gmail.com.
This is an open source code project, so feel free to collaborate by raising a pull-request or sharing your feedback.
If you love this library, understand all the effort it takes to maintain it and would like to support me, you can buy me a coffee by following this link:
You can also sponsor me by hitting the GitHub Sponsor button. All help is very much appreciated.
SwiftUIPager is available under the MIT license. See the LICENSE file for more info.
129 followers · starred Mar 2025
93 followers · starred Feb 2021
1,033 followers · starred Mar 2020
117 followers · starred Feb 2024