NSMutableAttributedString
public extension NSMutableAttributedString
-
Replaces all String format specifiers with the given arguments while keeping their styles. (Only works if the given arguments is an array of NSAttributedStrings)
Declaration
Swift
func format(with arguments: CVarArg...) -> NSMutableAttributedString
Parameters
arguments
List of NSAttributedString replacements.
Return Value
This NSMutableAttributedString with its format specifiers replaced with the given NSAttributedStrings.