Converting HTML to NSAttributedString, copy to Clipboard

Converting HTML to NSAttributedString, copy to Clipboard Copying a string to the Clipboard using Objective-C is a simple two-line process. But what if you want to copy from an HTML source and maintain its color and formatting? Doing this requires creating an NSAttributedString from the HTML, then converting it into an NSData object, and then […]