Convert array to NSAttributedString
I have a NSMutableArray composed of NSAttributedString 's. I'm trying to convert it to a single NSAttributedString separating all the NSAttributedString 's with a character. This approach is similar to the conversion of an array to a NSString with the componentsJoinedByString:@"," method but unfortunately this method doesn't exist with the NSAttributedString . How can I convert the array? Thanks. I'd to the old way: NSMutableAttributedString *attrStr = [[NSMutableAttributedString alloc] init]; NSAttributedString *jointElement = [[NSAttributedString alloc] initWithString:@","] for (int i = 0; i