NSMutableAttributedString
extension NSMutableAttributedString
-
Add attributes for highlighted text within the string that is encompassed between two ‘*’ characters.
These characters will be evaluated and stripped from the string if found.
Declaration
Swift
public func mimiAddHighlightsAttribute(with font: UIFont, color: UIColor? = nil)Parameters
fontFont to use for highlighted text.
colorColor to use for highlighted text.
NSMutableAttributedString Extension Reference