KurtCode / PDFKitten

A framework for extracting data from PDFs in iOS
MIT License
391 stars 113 forks source link

Added more flexibility #84

Open kenneth488 opened 9 years ago

kenneth488 commented 9 years ago

Hi KurtCode

I have made some changes to the library, giving the user more freedom when it comes to the selections.

Redrawing the PDF page each time we search is not a good way to do it. Especially not if we are dealing with heavy files. Therefore giving the user the ability to draw the PDF page one time, and the freely placing the search marks on top gives a great amount of flexibility.

As mentioned in the readme I have restructured. I have implemented a method for only getting the page text, and one for getting the selections. The user only needs to call the selections "frame" method, convert the returned rect to userspace and place the view.

Regards,

Kenneth

lpotherat commented 8 years ago

I've downloaded your version, and I get this error sometime : unable load adobe_glyphs from resource ... It tries to get some data from NappPDFResources.bundle, but what is this bundle ? Where/How can we get it ?

Thanks in advance for your answer

konran2010 commented 7 years ago

Hi @kenneth488,

as @KurtCode did never merge your changes into the branch and for now his code has changed so much, that it is not possible to merge your diffs into the current master: Do you have a branch copy of the PDFKitten with your changes merged into? I'm very interested to base my work on that.

Thanks and regards, Konran