NSAttributed object initialized with a given string and attributes.
- iOS 3.2+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The string for the new attributed string.
The attributes for the new attributed string. For a list of attributes that you can include in this dictionary, see Character Attributes.
NSAttributed object initialized with the characters of
a and the attributes of
attributes. The returned object might be different from the original receiver.