COCOA DEV
Friday, January 15th, 2010
I would like to inform you about Cocoaheads Graz: This is (next to Cocoaheads Vienna) an Austrian COCOA community which holds user group meetings on regular base. These events are open to all who are interested and would like to talk about programming and developing apps for Mac OS X & iPhone.
The first meeting was on 09.11.09 and is repeated monthly on the second monday every month (at 19:00 in SciencePark so far).
I would also like to use this post as a “reminder” of NSLog specific format specifiers, I am not able to remeber ![]()
So here is the list:
| format | specified |
|---|---|
%@ |
CocoaDev Object |
%d, %i |
signed int |
%u |
unsigned int |
%f |
float/double |
%x, %X |
hexadecimal int |
%o |
octal int |
%zu |
size_t |
%p |
pointer |
%e |
float/double (in scientific notation) |
%g |
float/double (as %f or %e, depending on value) |
%s |
C string (bytes) |
%S |
C string (unichar) |
%.*s |
Pascal string (requires two arguments, pass pstr[0] as the first, pstr+1 as the second) |
%c |
character |
%C |
unichar |
%lld |
long long |
%llu |
unsigned long long |
%Lf |
long double |
