Declared in NSAttributedString+DTWebArchive.h

Overview

Convenience methods to translate between NSAttributedString and DTWebArchive

Instance Methods

initWithWebArchive:options:documentAttributes:

Creates an attributed string from a web archive.

- (id)initWithWebArchive:(DTWebArchive *)webArchive options:(NSDictionary *)options documentAttributes:(NSDictionary **)dict

Parameters

webArchive

The web archive

options

The DTAttributedStringBuilder options to use for parsing

dict

The resulting document attributes

Discussion

Note: The documentAttributes parameter is unused at present.

Declared In

NSAttributedString+DTWebArchive.h

webArchive

Create a web archive from the receiver

- (DTWebArchive *)webArchive

Return Value

A Web archive representing the attributed string as HTML plus linked resources

Declared In

NSAttributedString+DTWebArchive.h