I want to do a for loop (i am now going to try to implement a table view but am still curious) How can I increment the value of 'itemListText1' so it is 'itemListText%i'?
HTML Code:
//=======( create or destroy the text in field %i )=======
if ([mainDelegate.personArray count] == 1) {
itemListText1.text = [NSString stringWithFormat:@"%@ - %@", [[mainDelegate.personArray objectAtIndex:0] itemTitle], [[mainDelegate.personArray objectAtIndex:0] itemAddtl]];
itemListText2.text = [NSString stringWithFormat:@""];
//=========( corresponding delete buttons )==========
remove1Button.hidden = YES;
remove2Button.hidden = NO;
}
im sure its dead simple.. just create a variable and assign?
cheers.rob