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

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

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