NSMutableAttributedString

  • Mechanica

    Adds the bold attribute to a given range (or to entire NSMutableAttributedString is nil).

    Declaration

    Swift

    public func setBoldFont(in range: NSRange? = nil)
  • Mechanica

    Adds the underline attribute to a given range (or to entire NSMutableAttributedString is nil).

    Declaration

    Swift

    public func setUnderline(in range: NSRange? = nil, style: NSUnderlineStyle = .styleSingle)
  • Mechanica

    Adds the strikethrough attribute to a given range (or to entire NSMutableAttributedString is nil).

    Declaration

    Swift

    public func setStrikethrough(in range: NSRange? = nil, style: NSUnderlineStyle = .styleSingle)
  • Mechanica

    Adds the foregroundColor attribute to a given range (or to entire NSMutableAttributedString is nil).

    Declaration

    Swift

    public func setColorForeground(_ color: Color, in range: NSRange? = nil)
  • Mechanica

    Adds the backgroundColor attribute to a given range (or to entire NSMutableAttributedString is nil).

    Declaration

    Swift

    public func setColorBackground(_ color: Color, in range: NSRange? = nil)
  • Mechanica

    Adds the systemFontSize attribute to a given range (or to entire NSMutableAttributedString is nil).

    Declaration

    Swift

    public func setItalicFont(in range: NSRange? = nil)
  • Mechanica

    Returns a new NSMutableAttributedString appending the right NSMutableAttributedString to the left NSMutableAttributedString.

    Declaration

    Swift

    public static func + (lhs: NSMutableAttributedString, rhs: NSMutableAttributedString) -> NSMutableAttributedString
  • Mechanica

    Returns a new NSMutableAttributedString appending the right NSAttributedString to the left NSMutableAttributedString.

    Declaration

    Swift

    public static func + (lhs: NSMutableAttributedString, rhs: NSAttributedString) -> NSMutableAttributedString
  • Mechanica

    Returns a new NSMutableAttributedString appending the right NSMutableAttributedString to the left NSAttributedString.

    Declaration

    Swift

    public static func + (lhs: NSAttributedString, rhs: NSMutableAttributedString) -> NSMutableAttributedString
  • Mechanica

    Returns a new NSMutableAttributedString appending the right String to the left NSMutableAttributedString.

    Declaration

    Swift

    public static func + (lhs: NSMutableAttributedString, rhs: String) -> NSMutableAttributedString
  • Mechanica

    Returns a new NSMutableAttributedString appending the right NSMutableAttributedString to the left String.

    Declaration

    Swift

    public static func + (lhs: String, rhs: NSMutableAttributedString) -> NSMutableAttributedString
  • Mechanica

    Appends the right NSMutableAttributedString to the left NSMutableAttributedString.

    Declaration

    Swift

    public static func += (lhs: NSMutableAttributedString, rhs: NSMutableAttributedString)
  • Mechanica

    Appends the right NSAttributedString to the left NSMutableAttributedString.

    Declaration

    Swift

    public static func += (lhs: NSMutableAttributedString, rhs: NSAttributedString)
  • Mechanica

    Appends the right String to the left NSMutableAttributedString.

    Declaration

    Swift

    public static func += (lhs: NSMutableAttributedString, rhs: String)