When i run the below code
NSLog([NSString stringWithFormat:@"Response count is %d",response.products.count]);
i get a warning message like below
warning: format not a string literal and no format arguments
what is the problem in my syntax..
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You don’t need to create another autoreleased string, just pass it straight to
NSLog:The reason why this warning is popping up is because you didn’t supply a format string as the first argument to
NSLog.