I have a mutable array named setUpArray and I want to generate UITextField's dynamically .The number of textFields must be equal to [setUpArray count]. I have tried following code . It works 
for generation of UITextFields but problem is they all having the same names. so i can't set the property for individual text independently.

```
  for(int i=0;i<[setUpArray count];i++)
{
    UITextField *nameTextField=[[UITextField alloc]initWithFrame:CGRectMake(x, y, 60, 40)];
   nameTextField.delegate=self;
    [view addSubview:nameTextField];
    y=y+50;

}

```

so please give me the solution on this problem.