Here is the code example of NSLog function that prints the value of integer.
int num=90;
NSLog(@"The value of integer num is %i", num);
The above code will print the value of num variable. If you run the code you will get the following output:
The value of integer num is 90
Using above code you can display the value of int variables.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.