How do you join an NSArray of [Number numberWithChar: c]'s into an NSString?
问题 When I use componentsJoinedByString , I just get a long string of digits. Edit: I realize this task is confusing. Why on earth would anyone populate an NSArray with NSNumbers if they wanted an NSString? The answer is that I'm writing an extensible unit test framework. The basic functions genNum , genBool , and genChar generate NSNumbers with random int, BOOL, and char values respectively. Then there's genArray which generates a random array using a specified generator. So to construct a