objc 에서 문자열 분리하여 배열로 받을때
objc:
NSString *list = @"kr/en/jp"; NSArray *langList = [list componentsSeparatedByString:@"/"];
swift:
NSString *list = @"Karin, Carrie, David"; NSArray *listItems = [list componentsSeparatedByString:@", "];