项目
在 GitHub 查看
ricobeck/KFEpubKit
关于
面向 iOS 和 OSX、用于提取和解析 EPUB 的 Objective-C 框架。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文KFEpubKit
An Objective-C epub extracting and parsing framework for OSX and iOS.

#Usage
Load from a local URL …
NSURL *epubURL = [[NSBundle mainBundle] URLForResource:@"tolstoy-war-and-peace" withExtension:@"epub"];
NSURL *documentsURL = [[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject];
self.epubController = [[KFEpubController alloc] initWithEpubURL:epubURL andDestinationFolder:documentsURL];
self.epubController.delegate = self;
[self.epubController openAsynchronous:YES];
… and add delegate methods
- (void)epubController:(KFEpubController *)controller didOpenEpub:(KFEpubContentModel *)contentModel
{
NSLog(@"opened: %@", contentModel.metaData[@"title"]);
}
In-depth usage is explained in the included examples for both OSX and iOS.
探索相关项目
加载中…