Here are two ways to make a NSString.
NSString *sBody = [NSString stringWithString:@"Hello"]
versus
NSString *sBody = @"Hello"
Most of the time, I see it the first way. But is it also “clean” to use the second, or is it better to not use it?
Thanks and have a nice day!
They are equivalent. It’s less code to use the literal (the second example), so I would just use that.