adamwulf / JotUI

OpenGL based drawing view built for and used by Loose Leaf for iPad
http://getlooseleaf.com/opensource/
MIT License
268 stars 28 forks source link

NSData Support #44

Closed abrpatel closed 5 years ago

abrpatel commented 5 years ago

Draft of NSData implementation.

Known issues:

abrpatel commented 5 years ago

Feel free to reject this pr, as it isn't a complete solution. But it has the components to save / load from NSData, so hopefully you can use some of the code / logic in creating a PR that is backwards compatible.

Found this NSData compression framework useful to compress the data, save it, uncompress the data and load it back. https://github.com/nicklockwood/GZIP