UILabel

  • Utility function to display a label with a custom letter spacing value.

    Declaration

    Swift

    public func flaneurText(_ text: String, letterSpacing: CGFloat = 0.0)

    Parameters

    text

    the text to be displayed by the label

    letterSpacing

    the letter spacing to use. 0.0 is the default. Positive values will expand the text. Negative values will condense the text.