Divider
@available(iOS 9.0, *)
public class Divider : UIView
A UIView that divides vertically or horizontally
-
Creates a UIView
Declaration
Swift
public init( _ axis: NSLayoutConstraint.Axis = .horizontal, color: UIColor? = .systemGray )
Parameters
axis
Axis to divide (Default: .horizontal)
color
Color of the divider (Default: .systemGray)