Pages
  • September 16, 2023

Pages is the easiest way of setting up a UIPageViewController. It comes with some convenience methods like, disabling swipe, going to a specific page and navigating backwards and forwards. And best of all, you don’t have to make your own custom UIViewController to keep an index, Pages handles that for you. It just works.

Usage


let viewController1 = UIViewController()
viewController1.title = “Controller A”

let viewController2 = UIViewController()
viewController2.title = “Controller B”

let pages = PagesController([viewController1, viewController2])

Demo


Installation


Pages is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod ‘Pages’

Pages is also available through Carthage. To install just write into your Cartfile:

github “hyperoslo/Pages”

GitHub


View Github

YOU MIGHT ALSO LIKE...
CameraBackground

Features Both front and back camera supported. Flash modes: auto, on, off. Countdown timer. Tap to focus. Pinch to zoom. Usage  

DKCamera

Description A light weight & simple & easy camera for iOS by Swift. It uses CoreMotion framework to detect device orientation, so ...

HorizonSDK-iOS

Horizon SDK is a state of the art real-time video recording / photo shooting iOS library. Some of the features ...

LLSimpleCamera

LLSimpleCamera: A simple customizable camera - video recorder control LLSimpleCamera is a library for creating a customized camera - video ...

RSBarcodes_Swift

RSBarcodes allows you to read 1D and 2D barcodes using the metadata scanning capabilities introduced with iOS 7 and generate ...