LxPDFParser
A delightful iOS library. Simply parse the PDF file's structure. The foundation to come true more complicated functions.
Install / Use
/learn @DeveloperLx/LxPDFParserREADME
LxPDFParser
A delightful iOS library. Simply parse the PDF file's structure. The foundation to come true more complicated functions. Installation
You only need drag LxPDFParser.h and LxPDFParser.m to your project. Support
Minimum support iOS version: iOS 2.0. Demo runs on iOS 7.0 and later. How to use
#import "LxPDFParser.h"
#define PDFKitGuide_File_Path @"..."
LxPDFParser * pdfParser = [[LxPDFParser alloc]initWithPDFDocumentPath:PDFKitGuide_File_Path];
NSLog(@"pdfParser.filePath = %@", pdfParser.filePath); //
NSLog(@"pdfParser.pageCount = %ld", pdfParser.pageCount); //
NSLog(@"pdfParser.catalogDictionary = %@", pdfParser.catalogDictionary); //
id content = [pdfParser valueForPDFKeyPath:@[@"Pages", @"Kids", @2, @"Kids", @2, @"Contents", @0]];
NSLog(@"content = %@", content); //
.............
Be careful
Use NSString object represents NSDictionary object's key and NSNumber object represents NSArray object's index.
License
LxPDFParser is available under the Apache License 2.0. See the LICENSE file for more info.
Related Skills
node-connect
341.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.4kCommit, push, and open a PR
