title: How to embed a variable prefix in a NSUserDefault reference?
body: <p>I have a bit of code that looks like this:</p>
  
  <pre><code>[defaults setObject:@"sample_3-2.aiff" forKey:@"mySample"];
  </code></pre>
  
  <p>But I really want to change the "sample" word in my value to a variable, which I guess would look something like this:</p>
  
  <pre><code>[defaults setObject:@"%@_3-2.aiff" , myString forKey:@"mySample"];
  </code></pre>
  
  <p>Which of course doesn't work (and therefore I need your help). My goal is to actually make it work by calling the prefix from another NSUserDefault, something I image is like this:</p>
  
  <pre><code>[defaults setObject:@"%@_3-2.aiff" [defaults stringForKey:@"myPrefix"] forKey:@"mySample"];
  </code></pre>
  
  <p>Can someone please let me know how to make this work?</p>