DTWebArchive Reference
About DTWebArchive
Safari uses the WebKit class WebArchive to transfer rich data from e.g. Safari. This project aims to give you the capability of accepting such pasteboard data in your apps. WebArchive and the related WebRessource classes are tightly coubled with WebKit and private. This project is a reverse-engineered class giving you the same functionality on iOS.
For example you could allow your users to copy something from a web page and paste it into your app preserving the formatting.
I put this into it’s own GitHub project instead of adding it to NSAttributedString+HTML because it might be useful for you even if you don’t dabble in CoreText with HTML.
License
It is open source and covered by a standard BSD license. That means you have to mention Cocoanetics as the original author of this code. You can purchase a Non-Attribution-License from us.
Documentation
Documentation can be browsed online or installed in your Xcode Organizer via the Atom Feed URL.
Usage
Add the files contained in Core/Source to your project, or add the DTWebArchive.xcodeproj as a sub project to your project.