Is it necessary to assign a string to a variable before comparing it to another?

后端 未结 4 1606
名媛妹妹
名媛妹妹 2020-11-30 20:21

I want to compare the value of an NSString to the string \"Wrong\". Here is my code:

NSString *wrongTxt = [[NSString alloc] initWithFormat:@\"W         


        
4条回答
提交回复
热议问题