RootView

open class RootView : UIView

RootView is the root view of all customized view. It provides show and hide control and initialization control.

Author

Adamas

Date

05/08/2019

Version

1.5.0
  • Whether the view is visible or not.

    Declaration

    Swift

    public var isVisible: Bool
  • The original frame of the view.

    Declaration

    Swift

    public private(set) var originalFrame: CGRect { get }
  • Show the view.

    Declaration

    Swift

    open func show()
  • Hide the view.

    Declaration

    Swift

    open func hide()
  • Initialize the view.

    Declaration

    Swift

    open func initialize()
  • Render the views inside right after being allocated the frame.

    Declaration

    Swift

    open func render()
  • Undocumented

    Declaration

    Swift

    public required init?(coder aDecoder: NSCoder)
  • Undocumented

    Declaration

    Swift

    public override init(frame: CGRect)
  • Undocumented

    Declaration

    Swift

    open override func draw(_ rect: CGRect)