Latest 1.1
License MIT
Platforms ios 9.0

Swift 3.0.x
Onboard controler written in swift 3 that uses view controlers.




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

pod 'SwiftyOnboardVC'

Then, run pod install

In case you haven’t installed CocoaPods yet, run the following command

sudo gem install cocoapods


Drag the folder SwityOnboardVCSource directory into your project.


  • iOS 9.0+
  • Xcode 8+
  • Swift 3

Example project

Download and run the example project to see how SwiftyOnboardVC works.

Code example

Create an array of view controllers

if let storyboard = self.storyboard {
    let viewOne = storyboard.instantiateViewController(withIdentifier: "ViewOne")
    let viewTwo = storyboard.instantiateViewController(withIdentifier: "ViewTwo")
    let viewThree = storyboard.instantiateViewController(withIdentifier: "ViewThree")
    let viewFour = storyboard.instantiateViewController(withIdentifier: "ViewFour")
    let viewControllers = [viewOne, viewTwo, viewThree, viewFour]

Create an instance of SwiftyOnboardVC with or without an array of view controllers

//Without view controllers
let onboard = SwiftyOnboardVC()
//with view controllers
let onboard = SwiftyOnboardVC(viewControllers: viewControllers)

Set some settings for SwiftyOnboardVC

onboard.backgroundColor = .black

Present SwiftyOnboardVC

self.present(onboard, animated: true, completion: nil)

Settings for SwiftyOnboardVC

Once an instance has been created of SwiftyOnboardVC you can changed all of theses features

//view settings
onboard.backgroundColor = .white
onboard.bounces = true
onboard.showHorizontalScrollIndicator = false

//Page control settings
onboard.showPageControl = true
onboard.pageControlTintColor = .lightGray
onboard.currentPageControlTintColor = .black

//Left button settings
onboard.showLeftButton = true
onboard.leftButtonText = "Previous"
onboard.leftButtonTextColor = .black
onboard.leftButtonBackgroundColor = .orange
onboard.leftButtonCornerRadius = 0
onboard.leftButtonHeightPadding = 5
onboard.leftButtonWidthPadding = 5

//Right button settings
onboard.showRightButton = true
onboard.rightButtonText = "Next"
onboard.rightButtonTextColor = .black
onboard.rightButtonBackgroundColor = .orange
onboard.rightButtonCornerRadius = 0
onboard.rightButtonHeightPadding = 5
onboard.rightButtonWidthPadding = 5

//Button top margin
onboard.buttonTopMargin = 5

//Status bar
onboard.hideStatusBar = false


SwiftyOnboardVC is available under the MIT license. See the LICENSE file for more info.

Latest podspec

    "name": "SwiftyOnboardVC",
    "version": "1.1",
    "summary": "Onboard controller that uses UIViewcontroler as its views.",
    "description": "Show a walkthrough within you app using your own view controllers. Use the story board to create your view controllers and then add them to SwiftyOnboardVC and watch the magic happen. Change the settings to show/hide buttons and page controls, customise colours and button design.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Luke Chase": "[email protected]"
    "source": {
        "git": "",
        "tag": "1.1"
    "platforms": {
        "ios": "9.0"
    "source_files": "SwityOnboardVCSource/SwiftyOnboardVC.swift",
    "pushed_with_swift_version": "3.0"

Pin It on Pinterest

Share This