A framework for extracting data from PDFs in iOS