title: NSImage to NSData, then to UIImage
body: <p>I am creating a plist from my OSX app that contains some images. I am writing the image by :</p>
  
  <pre><code>[NSKeyedArchiver archivedDataWithRootObject:self.someImage]
  </code></pre>
  
  <p>Then I am using this plist file as a template for iOS app, but here I can't convert the file to <code>UIImage</code> and neither to <code>NSImage</code>(as this is only for OSX).</p>
  
  <p>I am getting this error:</p>
  
  <blockquote>
    <p><strong>* Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: '*</strong>
    -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (NSImage)'</p>
  </blockquote>
  
  <p>Please suggest me a way to perform the above.</p>