Hi!
There is some tutorial about how to create a pdf using cocoa? I can't find anything. I looked for it on the web and it seems that I need Quartz to do it, but there aren't practical examples.
Can you help me? Thank you in advance.
—Albé
Hi!
There is some tutorial about how to create a pdf using cocoa? I can't find anything. I looked for it on the web and it seems that I need Quartz to do it, but there aren't practical examples.
Can you help me? Thank you in advance.
—Albé
See Cocoa Printing Architecture documentation. Basically, any printing operation creates a PDF and, in general, the best way to create PDF documents is to implement custom printing layouts.
Alternatively, NSView has printing related methods for grabbing the PDF within a rectangle.