NSMutableString sample code:
NSMutableString* mutString = [[NSMutableString alloc] init]; for(int index=0;index<10;index++) { [mutString appendString:[NSString stringWithFormat:@"%d",index]]; } NSLog(@"Content in MutableString: %@",mutString);
As for the failure: send your code that will fail. What he says?
source share