Last Updated: July 25, 2019
·
1.227K
· novalagung

iOS - Imploding array to string

NSArray  *array = [NSArray arrayWithObjects:@"he", @"ate", @"my food"];
NSString *joinedString = [array componentsJoinedByString:@" "];