title: Using scanf with NSStrings
body: <p>I want the user to input a string and then assign the input to an NSString. Right now my code looks like this:</p>
  
  <pre><code>NSString *word; 
  
  scanf("%s", &amp;word);
  </code></pre>