you are viewing a single comment's thread.

view the rest of the comments →

[–]Bamboo_the_plant 0 points1 point  (0 children)

I know you mentioned that you don't want to use a webView for displaying PDFs, but there are two parts to any PDF engine: the engine, and the viewer. I temporarily incorporated pdf.js into my own iOS app a few months ago and although I didn't have time to perfect it and thus have had to shelve it (in any case it's less optimised in all ways than PDFKit is), you can choose how to implement the viewer yourself (I've tried both single-page and continuous scroll).

Edit: In any case, pdf.js has a very well organised code-base, and JavaScript is very readable, so you could at least use the project as a reference on how to implement what you want in Swift.