Calling properties/instance variables from strings in Objective-C
<p>Basically my view controller has 49 different instance variables of class <code>CircleView</code> (called <code>circleView1</code>, <code>circleView2</code>, ..., <code>circleView49</code>). The <code>CircleView</code> class is a simple subclass of <code>UIImageView</code> and basically returns a circle picture when initialized.</p>

<p>Here is what I am trying to do:</p>

<p>In my implementation for the view controller, I want to be able to select the instance variable using a string, for example let's say I generate a random integer <code>i</code> between 1 and 49, lets say it's 5. I would like to be able to build an NSString using something like <code>[NSString stringWithFormat @"circleView%i",i];</code> and somehow reach the actual circleView5 instance variable. Is this possible?</p>

<p>P.S. I'm looking for something in the lines of <code>NSClassFromString</code>, but which applies to instance variables or objects.</p>
