when defining a string in Objective-C, can I do an easy assignment using a string format, such as
NSString *myVar = @"My String has %d words", 4;
nope
NSString *myVar = [NSString stringWithFormat:@"My String has %d words", 4];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With