NSMutableAttributedString
public extension NSMutableAttributedString
-
Simple Swift wrapper for setAttributes(_ attrs: [NSAttributedString.Key : Any]?, range: NSRange)
Declaration
Swift
@discardableResult func set(attributes: StringAttributes, range: ClosedRange<Int>) -> SelfParameters
attributesStringAttributes is a typealias for [NSAttributedString.Key : Any],
rangeClosed Int Range. Example: 0 … 3
View on GitHub
NSMutableAttributedString Extension Reference