I want a input from user their name and output that input name in NSLog using NSString.
I don’t know which % sign and how to output that.
Can i use scanf() function for that?
Please help me , i am just beginner of Objective-C.
I want a input from user their name and output that input name in
Share
You can use %@ for all objects including NSString. This will in turn call the objects
descriptionmethod and print the appropriate string. Most objects have a rather useful representation already there (e.g. NSArray objects return the descriptions of all their contents).