NSMutableAttributedString

extension NSMutableAttributedString
  • Apply a font attribute for the full length of string.

    Declaration

    Swift

    public func applyFont(_ font: UIFont?)
  • Apply a paragraph style for the full length of string.

    Declaration

    Swift

    public func applyParagraphStyle(_ process: (_ style: NSMutableParagraphStyle) -> Void)