home ‣ NSLog and NSString formatting

24 Mar 2008 · Tags: objective c, cocoa ← newer • 82 of 588older →

Used in NSLog() or [NSString stringWithFormat:]

%@ - as object
%d - signed integer
%i - signed integer 
%u - unsigned integer
%s - string
%x - unsigned hex
%o - signed octal

blog comments powered by Disqus