PdfReportKit

程序名称:PdfReportKit

授权协议: Apache

操作系统: iOS

开发语言: Objective-C

PdfReportKit 介绍

PdfReportKit 是一个小的工具包,用于通过 HTML 模板来创建 PDF 报表,每个页面都支持头、底部和其他内容。

示例模板:

{{#documentHeader}}
    Whatever you want
{{/documentHeader}}

使用代码:

NSError * error;
NSString * templatePath = [[NSBundle mainBundle] pathForResource:@"foo" ofType:@"mustache"];
[[PRKGenerator sharedGenerator] createReportWithName:@"foo" templateURLString:templatePath itemsPerPage:20 totalItems:articles.count pageOrientation:PRKLandscapePage dataSource:self delegate:self error:&error];

PdfReportKit 官网

https://github.com/as-cii/PdfReportKit

相关编程语言

Acapela TTS 是一个为 iPhone 和 iPad 开发的 TTS 引...
二维码(QR Code)扫描静态库,扫描效率较高。
RegexKitLite 是一个轻量级的 Objective-C 的正则表...
一款基于ASIHttpReques开源的仿迅雷多线程断点续传功...
实现动态检测网络(wifi)状况,不需要用户手动刷新...
使用iphoneSDK官方NSXMLParserDelegate做的简单xml解...