String

extension String
  • Create an attributed string with the given style block of attributes.

    Declaration

    Swift

    public func attributedString(_ style: (_ mutableAttributedString: NSMutableAttributedString) -> Void) -> NSAttributedString