PageView

class PageView : BaseView

PageController View

  • LoginView instance

    Declaration

    Swift

    public var loginView: LoginView
  • SocialLoginView instance

    Declaration

    Swift

    var socialLoginView: SocialMediaLoginView
  • centerConstraint animation constraint

    Declaration

    Swift

    var centerConstraint: NSLayoutConstraint!
  • getStartedConstraint animation constraint

    Declaration

    Swift

    var getStartedConstraint: NSLayoutConstraint!
  • skipConstraint animation constraint

    Declaration

    Swift

    var skipConstraint: NSLayoutConstraint!
  • pageControlConstraint animation constraint

    Declaration

    Swift

    var pageControlConstraint: NSLayoutConstraint!
  • socialLoginCenterConstraint animation constraint

    Declaration

    Swift

    var socialLoginCenterConstraint: NSLayoutConstraint!
  • Declaration

    Swift

    override func setupView()
  • Update constraints on user interactions

    Declaration

    Swift

    public func updateConstraintFor(getStarted: CGFloat, skip: CGFloat, pageControl: CGFloat, loginView: CGFloat, socialLoginBtn: CGFloat)

    Parameters

    getStarted

    GetStarted button constraint

    skip

    Skip button constraint

    pageControl

    PageControll button constraint

    loginView

    LoginView constraint

    socialLoginBtn

    Facebook button constraint

    Return Value

    Void

  • Handle keyboard responsiveness

    Declaration

    Swift

    public func keyboardResponder()
  • LoginView component delegate

    Declaration

    Swift

    func setTextFieldsDelegate(_ delegate: UITextFieldDelegate?)
  • PageCollectionView getter

    Declaration

    Swift

    var pageCollectionView: UICollectionView { get }
  • CollectionView Delegate getter and setter

    Declaration

    Swift

    var collectionViewDelegate: UICollectionViewDelegate? { get set }
  • CollectionView DataSource getter and setter

    Declaration

    Swift

    var collectionViewDataSource: UICollectionViewDataSource? { get set }
  • Current Page getter and setter

    Declaration

    Swift

    var currentPage: Int { get set }
  • getStartedConstraint getter and setter

    Declaration

    Swift

    var getStartedConstantConstraint: CGFloat { get set }
  • skipConstraint getter and setter

    Declaration

    Swift

    var skipConstantConstraint: CGFloat { get set }
  • pageControlConstraint getter and setter

    Declaration

    Swift

    var pageControlConstantConstraint: CGFloat { get set }
  • centerConstraint getter and setter

    Declaration

    Swift

    var loginViewConstantConstraint: CGFloat { get set }
  • LoginViewDelegate getter and setter

    Declaration

    Swift

    var loginDelegate: LoginViewDelegate { get set }
  • SocialMediaLoginDelegate getter and setter

    Declaration

    Swift

    var socialMediaDelegate: SocialMediaLoginDelegate { get set }