Created
February 2, 2015 16:15
-
-
Save youssman/c1a243a2919c253f8d7c to your computer and use it in GitHub Desktop.
iOS implode (Objective-C) http://stackoverflow.com/questions/845622/join-an-array-in-objective-c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSArray *array1 = [NSArray arrayWithObjects:@"1", @"2", @"3", nil]; | |
NSString *joinedString = [array1 componentsJoinedByString:@","]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment