title: Create variable during run-time in Objective-C
body: <p>I currently have a loop which iterates through an NSArray of NSString objects. I would like an NSString variable to be created on each iteration of the loop, using the currently evaluated NSString object's string value (from the NSArray) as the name of the variable. This is probably best explained through example:</p>
  
  <pre><code>for (i = 0; i &lt; [arrayOfStrings count]; i++) {
  
      // NSString *&lt;name of variable is [arrayOfStrings objectAtIndex:i]&gt; = [[NSString alloc] init];
  
  }
  </code></pre>
  
  <p>Is there anyway to accomplish this task? I am using iPhone SDK 3.1. Thanks.</p>