UIView

  • Undocumented

    Declaration

    Swift

    func hideBlurEffectWithAnimation()
  • Undocumented

    Declaration

    Swift

    func addBlurEffect()
  • Undocumented

    Declaration

    Swift

    class var nibName: String
  • nib

    Undocumented

    Declaration

    Swift

    class var nib: UINib?
  • Undocumented

    Declaration

    Swift

    class func fromNib<T : UIView>(nibNameOrNil: String? = nil, type: T.Type) -> T?
  • Undocumented

    Declaration

    Swift

    class func fromNib<T : UIView>(nibNameOrNil: String? = nil, type: T.Type) -> T
  • Undocumented

    Declaration

    Swift

    class func fromNib(_ nibNameOrNil: String? = nil) -> Self
  • Undocumented

    Declaration

    Swift

    func roundCorners(_ corners: UIRectCorner, radius: CGFloat)
  • Undocumented

    Declaration

    Swift

    public func addTapGesture(tapNumber: Int = 1, action: ((UITapGestureRecognizer) -> Void)?)
  • Undocumented

    Declaration

    Swift

    public func shakeViewForTimes(_ times: Int)
  • Undocumented

    Declaration

    Swift

    public convenience init(x: CGFloat, y: CGFloat, w: CGFloat, h: CGFloat)
  • puts padding around the view

    Declaration

    Swift

    public convenience init(superView: UIView, padding: CGFloat)
  • Copies size of superview

    Declaration

    Swift

    public convenience init(superView: UIView)
  • add multiple subviews

    Declaration

    Swift

    public func addSubviews(_ views: [UIView])
  • resizes this view so it fits the largest subview

    Declaration

    Swift

    public func resizeToFitSubviews()
  • resizes this view so it fits the largest subview

    Declaration

    Swift

    public func resizeToFitSubviews(_ tagsToIgnore: [Int])
  • Undocumented

    Declaration

    Swift

    public func resizeToFitWidth()
  • Undocumented

    Declaration

    Swift

    public func resizeToFitHeight()
  • x

    Undocumented

    Declaration

    Swift

    public var x: CGFloat
  • y

    Undocumented

    Declaration

    Swift

    public var y: CGFloat
  • w

    Undocumented

    Declaration

    Swift

    public var w: CGFloat
  • h

    Undocumented

    Declaration

    Swift

    public var h: CGFloat
  • Undocumented

    Declaration

    Swift

    public var left: CGFloat
  • Undocumented

    Declaration

    Swift

    public var right: CGFloat
  • top

    Undocumented

    Declaration

    Swift

    public var top: CGFloat
  • Undocumented

    Declaration

    Swift

    public var bottom: CGFloat
  • Undocumented

    Declaration

    Swift

    public var origin: CGPoint
  • Undocumented

    Declaration

    Swift

    public var centerX: CGFloat
  • Undocumented

    Declaration

    Swift

    public var centerY: CGFloat
  • Undocumented

    Declaration

    Swift

    public var vsize: CGSize
  • Undocumented

    Declaration

    Swift

    public func leftOffset(_ offset: CGFloat) -> CGFloat
  • Undocumented

    Declaration

    Swift

    public func rightOffset(_ offset: CGFloat) -> CGFloat
  • Undocumented

    Declaration

    Swift

    public func topOffset(_ offset: CGFloat) -> CGFloat
  • Undocumented

    Declaration

    Swift

    public func bottomOffset(_ offset: CGFloat) -> CGFloat
  • Undocumented

    Declaration

    Swift

    public func alignRight(_ offset: CGFloat) -> CGFloat
  • Undocumented

    Declaration

    Swift

    public func reorderSubViews(_ reorder: Bool = false, tagsToIgnore: [Int] = []) -> CGFloat
  • Undocumented

    Declaration

    Swift

    public func removeSubviews()
  • Centers view in superview horizontally

    Declaration

    Swift

    public func centerXInSuperView()
  • Centers view in superview vertically

    Declaration

    Swift

    public func centerYInSuperView()
  • Centers view in superview horizontally & vertically

    Declaration

    Swift

    public func centerInSuperView()
  • Undocumented

    Declaration

    Swift

    public func setRotationX(_ x: CGFloat)
  • Undocumented

    Declaration

    Swift

    public func setRotationY(_ y: CGFloat)
  • Undocumented

    Declaration

    Swift

    public func setRotationZ(_ z: CGFloat)
  • Undocumented

    Declaration

    Swift

    public func setRotation(x: CGFloat, y: CGFloat, z: CGFloat)
  • Undocumented

    Declaration

    Swift

    public func setScale(x: CGFloat, y: CGFloat)
  • Undocumented

    Declaration

    Swift

    public func spring(animations: @escaping (() -> Void), completion: ((Bool) -> Void)? = nil)
  • Undocumented

    Declaration

    Swift

    public func spring(duration: TimeInterval, animations: @escaping (() -> Void), completion: ((Bool) -> Void)? = nil)
  • Undocumented

    Declaration

    Swift

    public func animate(duration: TimeInterval, animations: @escaping (() -> Void), completion: ((Bool) -> Void)? = nil)
  • Undocumented

    Declaration

    Swift

    public func animate(animations: @escaping (() -> Void), completion: ((Bool) -> Void)? = nil)
  • Undocumented

    Declaration

    Swift

    public func pop()
  • Undocumented

    Declaration

    Swift

    public func popBig()
  • Undocumented

    Declaration

    Swift

    public func toImage () -> UIImage
  • Mask square/rectangle UIView with a circular/capsule cover, with a border of desired color and width around it

    Declaration

    Swift

    public func roundView(withBorderColor color: UIColor? = nil, withBorderWidth width: CGFloat? = nil)
  • Remove all masking around UIView

    Declaration

    Swift

    public func nakedView()
  • Loops until it finds the top root view.

    Declaration

    Swift

    func rootView() -> UIView