PageController

class PageController : UIViewController

Initial onborading controller

  • PageController model

    Declaration

    Swift

    public let pages: [Page]
  • PageController view

    Declaration

    Swift

    let pageView: PageView
  • Initial load

    Declaration

    Swift

    override func viewDidLoad()
  • viewWillAppear

    Declaration

    Swift

    override func viewWillAppear(_ animated: Bool)
  • preferredStatusBarStyle

    Declaration

    Swift

    override var preferredStatusBarStyle: UIStatusBarStyle { get }
  • NextController on success

    Declaration

    Swift

    public func nextController()
  • Error handling

    Declaration

    Swift

    public func handling(_ error: Error?)
  • Event listener for sign in button

    Declaration

    Swift

    func signInBtn(email: String?, password: String?)

    Parameters

    email

    the entered email

    password

    the entered password

    Return Value

    Void

  • Event listener for sign up button

    Declaration

    Swift

    func registerBtn(name: String?, email: String?, password: String?)

    Parameters

    name

    the user name

    email

    the entered email

    password

    the entered password

    Return Value

    Void

  • Listener for fogot button

    Declaration

    Swift

    func forgotPasswordBtn()
  • Listener for Skip button

    Declaration

    Swift

    func skipBtn()
  • FBSDKLoginKit login delegate

    Declaration

    Swift

    func loginButton(_ loginButton: FBSDKLoginButton!, didCompleteWith result: FBSDKLoginManagerLoginResult!, error: Error!) -> <<error type>>
  • FBSDKLoginKit logout delegate

    Declaration

    Swift

    func loginButtonDidLogOut(_ loginButton: FBSDKLoginButton!) -> <<error type>>