init(string:)
Creates an attributed string with the specified text and no attribute information.
Declaration
init(string str: String)Parameters
- str:
The text for the new attributed string.
Return Value
An NSAttributedString object initialized with the characters of str and no attribute information.
See Also
Related Documentation
init(RTF:documentAttributes:)- Attributed String Programming Guide