UIStackView
class UIStackView : UIView
-
Extension of
UIStackView
to create border.It just adds one view with border, This method is part of UI debug helper tools.
Declaration
Swift
public func enableBorder(_ color: UIColor = UIColor.black, width: CGFloat = 1.0)
Parameters
color
Color for border, by default ‘black’ color.
width
width of border, by default 1.0.