I have following code
NSString * myStr = [[NSString alloc] initWithFormat:@""];
But in Xcode I have red exclamation with "Expected expression".
I have solved problem with:
[NSString stringWithFormat:@"Number is not from 1 to 6. randomNumber is %d", randomNumber]
But I want to know what is the problem.
Image
http://imgur.com/iICMhYc&S7QwhFT#1
Thanks