Monday, May 2, 2011

String concatenation iPhone

Adding strings in Objective C can be done in a few different ways. I like to use combined string identifiers like the example below.

NSString *first = @"win";
NSString *second = @"dow";
text.text = [NSString stringWithformat:@"%@%@",first,second];


New World War II trivia game for iPhone- click here

No comments:

Post a Comment