Inherits from NSObject
Conforms to NSXMLParserDelegate
Declared in ENMLUtility.h
ENMLUtility.m

Overview

Utility methods to work with ENML.

Tasks

Class Methods

mediaTagWithDataHash:mime:

Utility function to create an enml media tag.

+ (NSString *)mediaTagWithDataHash:(NSData *)dataHash mime:(NSString *)mime

Parameters

dataHash

The md5 hash of the data

mime

The mime type of the data

Discussion

Utility function to create an enml media tag.

Declared In

ENMLUtility.h

Instance Methods

convertENMLToHTML:completionBlock:

Utility function to convert ENML to HTML.

- (void)convertENMLToHTML:(NSString *)enmlContent completionBlock:(void ( ^ ) ( NSString *html , NSError *error ))block

Parameters

enmlContent

The enml content of the note

block

The completion block that will be called on completion

Discussion

Utility function to convert ENML to HTML.

Declared In

ENMLUtility.h

convertENMLToHTML:withResources:completionBlock:

Utility function to convert ENML to HTML.

- (void)convertENMLToHTML:(NSString *)enmlContent withResources:(NSArray *)resources completionBlock:(void ( ^ ) ( NSString *html , NSError *error ))block

Parameters

enmlContent

The enml content of the note

resources

The resources array

block

The completion block that will be called on completion

Discussion

Utility function to convert ENML to HTML.

Declared In

ENMLUtility.h