iclems / iOS-htmltopdf

MIT License
305 stars 79 forks source link

Added support for NSData instead of file path #14

Closed iclems closed 10 years ago

martinjuhasz commented 10 years ago

i also did something similar a few days ago: https://github.com/martinjuhasz/iOS-htmltopdf/commit/8f7b94129f4b08349b3d5521bb3c3047c9f381cc

with this, the data could be retrieved from the current blocks/delegate methods because it is stored in the NDHTMLtoPDF object given.

using nil as the pdfPath's argument, it wouldn't be written to disk.