title: How can I convert NSDictionary to NSData and vice versa?
body: <p>I am sending <code>NSString</code> and <code>UIImage</code> using bluetooth. I decided to store both in a <code>NSDictionary</code> and then convert the dictionary to <code>NSData</code>.</p>
  
  <p>My question is how to convert <code>NSDictionary</code> to <code>NSData</code> and visa versa?</p>