I am appending a text on the end of a string that I have received by making the API Call in Xcode. Now, I want to add colour and make only the text "Tap to Read More" bold. Any suggestions on how can I achieve that? Would appreciate your help:)
self.content[i] = recievedData.title! + "\nTap to Read More "
let str = "Tap to Read More"
    
    let attributes: [NSAttributedString.Key: Any] = [
        .foregroundColor: UIColor.red,
    ]
    let attributedQuote = NSAttributedString(string: str, attributes: attributes)
 
    