title: Basic iPhone pasteboard usage
body: <p>I'm trying to put some plain text in the iPhone Pasteboard. The following code doesn't seem to work:</p>
  
  <pre><code>UIPasteboard *pboard = [UIPasteboard generalPasteboard];
  NSString *value = @"test";
  [pboard setValue: value forPasteboardType: @"public.plain-text"];
  </code></pre>
  
  <p>I'm guessing the problem is in the PasteBoard type argument. Passing <code>@"public.plain-text"</code> nothing happens. Passing <code>kUTTypePlainText</code> the compiler complains about incompatible pointer type, but doesn't crash, and nothing happens either. Using <code>kUTTypePlainText</code> also seems to require linking with <code>MobileCoreServices</code>, which is not mentioned in the docs.</p>