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