What is the formatter %@ in Objective-c -


what %@ means when it's using nslog? , when use that?

    nsdate* d  = [nsdate datewithtimeintervalsincenow:1201921383];     nslog(@"result: %@",d); 

objective-c object, printed string returned descriptionwithlocale: if available, or description otherwise. works cftyperef objects, returning result of cfcopydescription function.

https://developer.apple.com/library/mac/documentation/cocoa/conceptual/strings/articles/formatspecifiers.html


Comments

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -

collision detection - C++ library for mesh to mesh intersection: what is available? -