DTCoreTextTestCase Class Reference
Inherits from | XCTestCase |
Declared in | DTCoreTextTestCase.h |
Instance Methods
attributedStringFromHTMLString:options:
Parses the HTML in the given string with the optional options
- (NSAttributedString *)attributedStringFromHTMLString:(NSString *)HTMLString options:(NSDictionary *)options
Parameters
- HTMLString
The HTML string to parse with DTCoreText
- options
The parsing options
Return Value
the attributed string, generated with DTCoreText
Declared In
DTCoreTextTestCase.h
attributedStringFromTestFileName:
Parse the HTML in the file with the give name
- (NSAttributedString *)attributedStringFromTestFileName:(NSString *)testFileName
Parameters
- testFileName
The name of the test file in the OCTest bundle
Return Value
the attributed string, generated with DTCoreText
Declared In
DTCoreTextTestCase.h