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...
HybridCamera

[video width="192" height="416" mp4="https://swiftgit.com/wp-content/uploads/2024/12/68747470733a2f2f7261776769742e636f6d2f7374796c656b69742f696d672f6d61737465722f7669645f6564697465645f325f326d622e676966.mp4"][/video]

TakeASelfie

An iOS framework that uses the front camera, detects your face and takes a selfie. This api opens the front ...

iOS-Depth-Sampler

Code examples of Depth APIs in iOS

MockImagePicker

Mock UIImagePickerController to simulate the camera in iOS simulator.

RAImagePicker

Description RAImagePicker is a protocol-oriented framework that provides custom features from the built-in Image Picker Edit.