title: How do a write and read a string value to/from UIPasteboard in iOS?
body: <p>I have the following test, failing</p>
  
  <pre><code>NSString * expectedValue = @"achilles";
  
  UIPasteboard *pasteboard = [UIPasteboard pasteboardWithName:@"pb1" create:YES];
  pasteboard.persistent = YES;
  
  pasteboard.string = expectedValue;    
  STAssertEqualObjects(expectedValue, [pasteboard string], @"get written value from pasteboard");
  
  [pasteboard setString:expectedValue];
  STAssertEqualObjects(expectedValue, [pasteboard string], @"get written value from pasteboard");
  </code></pre>
  
  <p>Both of the asserts fail, </p>
  
  <pre><code>'achilles' should be equal to '(null)'
  </code></pre>
  
  <p>Am I incorrectly writing to the pasteboard, reading from the pasteboard, or both?</p>