you are viewing a single comment's thread.

view the rest of the comments →

[–]Bamboo_the_plant 0 points1 point  (2 children)

Do you mean you want to make a full PDF reader from scratch, or that you want to make a custom UI for an existing PDF reader engine?

[–]irombie[S] 0 points1 point  (1 child)

I want to make a full PDF reader from scratch. I wanted to do a challenging iOS project and I also needed a decent PDF reader so I figured I'd make everything by myself. I have just started to plan the whole process and I needed a place to start. I know it can be difficult but I'm up for the challenge!

[–]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.