I am really confused any help will be highly appreciated
So what is the difference below
int myInteger = 1;
myString = [NSString stringWithFormat:@"anotesound%i",myInteger];
and this
myString = [NSString stringWithString:@"anotesound1"];
I thought both should be same but open al do not accept those are equal, it works for the stringwithstring but not works for stringwithformat
myString = [NSString stringWithFormat: @"anotesound%d",myInteger];?