Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Complete list of Cocoa string format specifiers

I am studying Objective-C and would like to compile a complete list of String Format Specifiers.

I have used Google to find a simple list, but would like to expand on this. I have drawn resources from books, the Apple Developer website, and through university, but I want a complete list of the specifiers available in a table format.

Apple's own String Format Specifiers article isn't exhaustive enough nor does it give these specifiers with examples.

The image below is the kind of table I'd be interested in finding if it's available, or point me to an article that lists all these and more. As a starting point the table below doesn't specify %s for "string" (as an example).

enter image description here

like image 787
Danijel-James W Avatar asked Nov 11 '22 13:11

Danijel-James W


1 Answers

it's just like in c (or c++). For example you find a list here: http://www.cplusplus.com/reference/cstdio/printf/

like image 142
iCaramba Avatar answered Dec 07 '22 05:12

iCaramba