init(data:options:documentAttributes:) | Apple Developer Documentation

Creates an attributed string from the contents of the specified data object.