talira

UIPageViewController done properly, for iOS and tvOS

open sourceMITfree

Pageboy is a Swift page view controller for iOS and tvOS, a replacement for UIPageViewController with simpler data source management and richer delegate callbacks. It can insert and remove pages dynamically, scroll infinitely, move between pages automatically on a timer, and use custom animated transitions. Pageboy 5 needs iOS 14 or tvOS 14 and supports Swift 6.

Problems it solves

  • a better UIPageViewController for paging between screens
  • build an auto-scrolling onboarding carousel in iOS
  • page between view controllers with infinite scrolling in Swift

Features

  • simpler data source and delegate than UIPageViewController
  • insert and remove pages dynamically
  • infinite scrolling
  • timer-based automatic paging
  • custom page transitions