please help.When I press the button I want the data to print to the array multiple times and populate in the table. I have the code for the table just need help with the textview or array or do i need a dictionary?
-(IBAction)share{
if (textdata.text.length > 0)
{
alert1 = [[UIAlertView alloc]initWithTitle:@"Testimony" message:@"Posted Succcessfully: God Bless You" delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil];
[alert1 show];
}
else { alert1 = [[UIAlertView alloc]initWithTitle:@"Testimony" message:@"Please Post your Testimony" delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil];
[alert1 show];
}
array = [[NSMutableArray alloc]initWithObjects:textdata.text, nil];
}