nsmutablestring 属性声明为copy程序崩溃了
obj.mutableStr = (NSMutableString *)[[NSMutableString alloc] initWithString:@"Hello"];
NSLog(@"%@", obj.mutableStr);
[obj.mutableStr appendString:@"World!"]; // crash here: Attempt to mutate immutable object with appendString:
NSLog(@"%@", obj.mutableStr);
我这个属性声明为copy,程序崩了