PageView

PageView is an MIT-licensed SwiftUI paging component for iOS, offering a simple alternative to UIPageViewController with UIPageControl support.

Overview

PageView is an open-source SwiftUI component designed for iOS developers who need a straightforward paging interface. It provides a paging view that works with SwiftUI's declarative syntax, making it easier to implement swipeable pages compared to the traditional UIPageViewController. The project is actively maintained on GitHub with 658 stars and is licensed under the MIT license, allowing free use in commercial and personal projects. It is categorized under system tools and is particularly useful for developers building iOS apps with SwiftUI, as it integrates with UIPageControl for visual page indicators. The source code is available at https://github.com/fredyshox/PageView, and the project was last updated in March 2023. While no release files are indexed, the repository provides the source for direct integration.

Highlights

  • SwiftUI-native paging component for iOS
  • Supports UIPageControl for page indicators
  • MIT license permits free commercial use
  • Active GitHub project with 658 stars
  • Simple API for embedding in SwiftUI views

Common use cases

  • Building onboarding flows in iOS apps
  • Creating swipeable photo galleries or carousels
  • Implementing tabbed content with page indicators
  • Prototyping SwiftUI interfaces with paging

View upstream source