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

iOS - Imploding array to string

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