29
Objective-C中连接NSString的快捷方式
stringByAppendingString:在Objective-C中,是否有用于()字符串连接的快捷方式,或者NSString是通常使用的快捷方式? 例如,我想做: NSString *myString = @"This"; NSString *test = [myString stringByAppendingString:@" is just a test"]; 更像是: string myString = "This"; string test = myString + " is just a test";