The following code runs, but it only returns the same string, as many counts as the array. I want to return all the objects in the array (values) to the "lblMessage", one by one. Where is my mistake?
int i;
int count;
for (i=0, count = [values count]; i<count; i=i+1)
self.lblMessage.text = [NSString stringWithFormat:@"%@\n%@", self.lblMessage.text, [values objectAtIndex:[values count]-1]];
[values release];
}