Creation methods
Create attributed strings from existing content or raw text and apply the initial attributes.
Topics
Creating from another string
Creating a formatted string
Creating from a data file
init(data:options:documentAttributes:)init(docFormat:documentAttributes:)init(URL:options:documentAttributes:)
Creating from HTML
init(HTML:documentAttributes:)init(HTML:baseURL:documentAttributes:)init(HTML:options:documentAttributes:)loadFromHTML(request:options:completionHandler:)loadFromHTML(fileURL:options:completionHandler:)loadFromHTML(string:options:completionHandler:)loadFromHTML(data:options:completionHandler:)NSAttributedString.CompletionHandler
Creating from RTF
init(RTF:documentAttributes:)init(RTFD:documentAttributes:)init(RTFDFileWrapper:documentAttributes:)