iPhone and iPad d...
Follow
Find tag "pdf"
397.1K views | +154 today
iPhone and iPad development
Tips, Libs and more about iPhone and iPad development and ios
Curated by Vincent Demay
Your new post is loading...
Scooped by Vincent Demay
Scoop.it!

How To Create a PDF with Quartz 2D in iOS 5 Tutorial Part 1 | Ray Wenderlich

How To Create a PDF with Quartz 2D in iOS 5 Tutorial Part 1 | Ray Wenderlich | iPhone and iPad development | Scoop.it

Sometimes in your apps you might want to generate a PDF with data from the app for your users. For example, imagine you had an app that allowed users to sign a contract – you would want the users to be able to get a PDF with the final result.

But how do you generate a PDF programmatically? Well, it’s easy to do in iOS with the help of Quartz2D!


In this tutorial series, you’ll get hands-on experience with creating a simple PDF with Quartz2D. The PDF we’ll make will be for an invoice-making app, as you can see in the screenshot.

more...
No comment yet.
Scooped by Vincent Demay
Scoop.it!

PDF Reader/viewer viewController #iOS

PDF Reader/viewer viewController #iOS | iPhone and iPad development | Scoop.it

The overall PDF reader/viewer functionality is encapsulated in a single ReaderViewController class. First, you initialize a ReaderDocument object with the file path to the PDF document (or unarchive an existing ReaderDocument object) and then initialize a ReaderViewController with this ReaderDocument object. The ReaderViewController class uses the ReaderDocument object to store information about the document and to keep track of document properties (i.e. current page).

 

✔ Sources: https://github.com/vfr/Reader

more...
No comment yet.