iPhone Development 101
This domain is for sale.

iPhone 101

Code Tips

Resources

More

Join an array of strings into a single string by using NSArray's componentsJoinedByString:


NSArray *words = [NSArray arrayWithObjects:@"This", @"is", @"a", @"test", nil];
NSString *sentence = [words componentsJoinedByString:@" "];

// sentence is now: @"This is a test"

More String Functions

Additional References

TopHome