A really basic question, I have recently started exploring Objective C and Trying to mess with one example code. However just for debugging purpose I want print value of NSString variable on console. How do I achieve this?
Basically I am a java developer, So I am looking something similar as…
String hello = "world!";
System.out.println(hello);
My variable in this foreign language(Obj-C) is…
NSString *hello = ...calling a method to return string...
Any hint will be appreciated!
Thank you
Pretty simple: