Featured Development Resources iOS Development Libraries Open Source iOS Libraries And Tools Swift

TPPDF – A Swift Library With An Extensive Feature Set For Generating PDF Files

TPPDF is an open source Swift based library by Philip Nidertscheider providing an extensive feature set for creating PDF files.

TPPDF supports images, attributed strings, tables, different page sizes, dynamic layouts, tables, headers and footers and more.

This example from the readme shows how simple it is to create a PDF file from some text with an A4 page size:

let pdf = PDFGenerator(format: .A4)
pdf.addText(.FooterCenter, text: “Created using TPPDF for iOS.”)

You can find TPPDF on Github here.

A great library for those looking to create PDF files on iOS.