dynamic variable name to make uibutton (swift)
<p>How to create dynamic variable name to make uibutton </p>

<pre><code> var button0 = SSRadiobutton(frame: CGRectMake(0,0,200,50))
 var button1 = SSRadiobutton(frame: CGRectMake(0,0,200,50))
 var button2 = SSRadiobutton(frame: CGRectMake(0,0,200,50))
 var button3 = SSRadiobutton(frame: CGRectMake(0,0,200,50))
</code></pre>

<p>Actually there is a tutorial called SSRadiobutton.  </p>

<pre><code>radioButtonController = SSRadioButtonsController(buttons:button0,button1,button2)
</code></pre>

<p>there is a button array inside ssradiobuttonscontroller to store the buttons so that it can perform single selection. </p>

<p>but the question is that i have to initialise the ssradiobuttonscontroller with dynamic name. the names can't be same</p>