PagingDot
final class PagingDot : UIView
A dot in the page control
-
The active state.
Declaration
Swift
var active: Bool { get set } -
Dot size state.
Declaration
Swift
var state: PagingDotState
-
Undocumented
Declaration
Swift
private lazy var imageView: UIImageView { get set } -
Undocumented
Declaration
Swift
private weak var sizeConstraint: NSLayoutConstraint! -
Undocumented
Declaration
Swift
private let largeSize: CGFloat -
Undocumented
Declaration
Swift
private let mediumSize: CGFloat -
Undocumented
Declaration
Swift
private let smallSize: CGFloat -
Undocumented
Declaration
Swift
private let hiddenSize: CGFloat -
Undocumented
Declaration
Swift
private let activeDotImage: UIImage -
Undocumented
Declaration
Swift
private let inactiveDotImage: UIImage
-
Undocumented
Declaration
Swift
required init(state: PagingDotState, activeDotImage: UIImage, inactiveDotImage: UIImage) -
Undocumented
Declaration
Swift
required init?(coder aDecoder: NSCoder)
-
Undocumented
Declaration
Swift
override func layoutSubviews() -
Update the paging dot state.
Declaration
Swift
func update(stateMove: PagingDotStateMachine)Parameters
stateMoveA PagingDotStateMachine enum case.
-
Undocumented
Declaration
Swift
func configure(for activeState: Bool) -
Undocumented
Declaration
Swift
func updateState(with stateMove: PagingDotStateMachine) -
Undocumented
Declaration
Swift
func size(for state: PagingDotState) -> CGFloat -
Undocumented
Declaration
Swift
func setup() -
Undocumented
Declaration
Swift
private func setupImageView()
PagingDot Class Reference