title: How to use Xcode to populate PDF and HTML templates with user-defined variable data
body: <p>Okay, so I have developed my entire user interface with xcode. I have set various text fields as variables, and I am trying to figure out how to populate either PDF templates or HTML templates with this user defined variable data.</p>
  
  <p>First, which would be better for printing (with a hardware printer, not in the coding sense)- PDF or HTML?</p>
  
  <p>Second, is it possible to populate the user's input to either a PDF or HTML template? I am writing a legal software suite in which the PDF/HTML templates will not need to be visible in the interface itself, only when print previewing, or exporting the templates to another source (iPad, laptop, etc)?</p>
  
  <p>Thanks for any advice you can offer.</p>
  
  <p>Mitch</p>