UIView

class UIView : UIResponder, NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, UIFocusItemContainer, CALayerDelegate
  • Constrain 4 edges of self to specified view.

    Declaration

    Swift

    func setConstraints(to view: UIView, top: CGFloat=0, left: CGFloat=0, bottom: CGFloat=0, right: CGFloat=0)
  • Set view rounded

    Declaration

    Swift

    func ssSetRounded()