SeparatorLine

open class SeparatorLine : UIView

A UIView thats intrinsicContentSize is overrided so an exact height can be specified

Important Notes

  1. Default height is 1 pixel
  2. Default backgroundColor is UIColor.lightGray
  3. Intended to be used in an InputStackView

Properties

  • The height of the line

    Declaration

    Swift

    open var height: CGFloat { get set }
  • Declaration

    Swift

    open override var intrinsicContentSize: CGSize { get }

Initialization

  • Declaration

    Swift

    public override init(frame: CGRect)
  • Declaration

    Swift

    required public init?(coder aDecoder: NSCoder)
  • Sets up the default properties

    Declaration

    Swift

    open func setup()