A UIPageViewController replacement built to be as simple as possible
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
MyPlayground.playground pan gesture working Dec 27, 2018
SimplePagedViewFramework.xcodeproj
SimplePagedViewFramework
SimplePagedViewFrameworkTests Initial Commit Dec 12, 2018
.gitignore
LICENSE
README.md
SimplePagedView.podspec updated podspec Dec 19, 2018

README.md

SimplePagedView

SimplePagedView is an iOS component that makes it as easy as possible to set up a page view for things like onboarding or presenting information.

simulator screen shot - iphone 8 - 2018-12-12 at 12 54 46

Installation

pod 'SimplePagedView'

Usage

Programmatic setup

// Create a PagedViewController by providing it with a view for each page you'd like it to contain
let simplePagedView = SimplePagedView(with:
    LogoView(presenter: welcomePresenter),
    CardPageView(image: ThemeManager.Images.welcomeTourSlide1,
                        subtitle: "Complete and resolve tasks on the go"),
    CardPageView(image: ThemeManager.Images.welcomeTourSlide2,
                        subtitle: "Comment on tasks and conversations"),
    CardPageView(image: ThemeManager.Images.welcomeTourSlide3,
                        subtitle: "Add files and pictures in seconds")
)

// Add as subview and setup constraints/frame