Small OSX/iOS code to transform PDFs into plain text via the NSString object