Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hyperoslo/Pages
:page_facing_up: UIPageViewController made simple
https://github.com/hyperoslo/Pages
Last synced: 7 days ago
JSON representation
:page_facing_up: UIPageViewController made simple
- Host: GitHub
- URL: https://github.com/hyperoslo/Pages
- Owner: hyperoslo
- License: other
- Created: 2015-04-10T11:05:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-02-04T09:25:13.000Z (almost 3 years ago)
- Last Synced: 2024-11-24T16:49:00.959Z (19 days ago)
- Language: Swift
- Homepage: http://hyper.no
- Size: 7.18 MB
- Stars: 495
- Watchers: 19
- Forks: 51
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-ios - Pages - UIPageViewController made simple. (UI / Font)
- awesome-ios-star - Pages - UIPageViewController made simple. (UI / Font)
README
⚠️ DEPRECATED, NO LONGER MAINTAINED
![Pages logo](https://raw.githubusercontent.com/hyperoslo/Pages/master/Images/pages_logo.png)
[![CI Status](http://img.shields.io/travis/hyperoslo/Pages.svg?style=flat)](https://travis-ci.org/hyperoslo/Pages)
[![Version](https://img.shields.io/cocoapods/v/Pages.svg?style=flat)](http://cocoadocs.org/docsets/Pages)
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
![Swift](https://img.shields.io/badge/%20in-swift%203.0-orange.svg)
[![License](https://img.shields.io/cocoapods/l/Pages.svg?style=flat)](http://cocoadocs.org/docsets/Pages)
[![Platform](https://img.shields.io/cocoapods/p/Pages.svg?style=flat)](http://cocoadocs.org/docsets/Pages)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
```swift
let viewController1 = UIViewController()
viewController1.title = "Controller A"let viewController2 = UIViewController()
viewController2.title = "Controller B"let pages = PagesController([viewController1, viewController2])
```## Demo
![untitled](Screenshots/demo.gif)## Installation
**Pages** is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod 'Pages'
```**Pages** is also available through [Carthage](https://github.com/Carthage/Carthage).
To install just write into your Cartfile:```ruby
github "hyperoslo/Pages"
```## Author
Hyper, [email protected]
## License
**Pages** is available under the MIT license. See the LICENSE file for more info.