PDF Creation

Discussion in 'iOS Programming' started by larswik, Dec 16, 2011.

  1. larswik macrumors 68000

    Joined:
    Sep 8, 2006
    #1
    For my app I am to the point of the user creating an invoice to email to the client. I thought this would be a good weekend project to learn about making PDFs.

    I did some research online and there seems to be different ways of approaching it. I looked at the PDFKit but then read some people saying it is unreliable, pain to use and stay away from it.

    Then I found the Apple site http://developer.apple.com/library/...gPrintingiOS/GeneratingPDF/GeneratingPDF.html

    I was wondering if this is the best approach to learn how to create PDF files to email from the ios, or is there something that some one could recommend that I have not seen yet, or different approach if PDFs are not the solution? I would like to focus my weekend on the right path.

    Thanks
     
  2. PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #2
    Creating a PDF can be just like drawing to the screen. The code just draws into a PDFContext instead. That's what the page you link to shows. That should work just fine. Something like an invoice would be mostly text with maybe a few lines. That should be simple to do and should work out fine.

    PDFs are a widely used format and would be a good format for non-editable documents.
     
  3. larswik thread starter macrumors 68000

    Joined:
    Sep 8, 2006
    #3
    Thanks for the feedback. There have been a few time where I started on the wrong path and wasted a weekend learning the wrong thing, so I thought I would ask first.
     

Share This Page