title: How to determine device type from Swift? (OS X or iOS)
body: <p>I know Swift is relatively new, but I was wondering if there was a way to determine the device type?</p>
  
  <p>(Like you used to be able to do with a <code>#define</code>)?</p>
  
  <p>Mainly I would like to know how to differentiate OS X or iOS.  I have found nothing on the subject.</p>