Skip to content

barankaraoguzzz/FastOnBoarding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastOnBoarding

CI Status Version License Platform Language

FastOnBoarding framework helps you make your onboard page.You write just a line code and finished onboard page. It has 11 different animation

these :

  • cube
  • alignedCube
  • flip
  • alignedFlip
  • oglFlip
  • rotate
  • pageCurl
  • pageUnCurl
  • rippleEffect
  • suckEffect

, ,

Example

import UIKit
import FOView

class ViewController: UIViewController {

  @IBOutlet weak var onboardingView: FOView!

  override func viewDidLoad() {
    super.viewDidLoad()
    onboardingView.foImages = imageViewArray
    onboardingView.animateType = .oglFlip
    onboardingView.foDiriction = .horizantal
    onboardingView.delegate = self //For Delegate
    onboardingView.startOnboarding()
  }

  let imageViewArray : [UIImage]? = [#imageLiteral(resourceName: "image1"),#imageLiteral(resourceName: "image2"),#imageLiteral(resourceName: "image3")]
}

Implement FODelegate

If you want to detect onboarding index, you should use FODelegate. :)
extension ViewController: FODelegate {
    func FOnboarding(_ foView: FOView, getCountPageControl: Int) {
        print(getCountPageControl)
    }
}

Optionally Method

isPageControl

If you want to make a custom page control. you should hide FOView's page control.
onboardingView.isPageControl = false // this is optional method. default = true

Install via CocoaPods

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

To run the example project, clone the repo, and run pod install from the Example directory first.

platform :ios, '8.0'
use_frameworks!

pod "FOView"

####Then on the top of files where you are going to use this:

import FOView

Author

Baran Batuhan Karaoğuz(@Baran)

License

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

##Keywords swift, swift3, Animating, Pagecurl, Cube, Onboarding, Onboard, xcode, ios