Name for %@ %d in an NSString

纵然是瞬间 提交于 2019-11-28 12:37:18

They are called format specifiers, could also be called 'placeholders in a string for the variables that will follow'.

https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Strings/Articles/formatSpecifiers.html

They are NSString literals. More specifically, they look they are being used as formatting strings for printf style functions.

I believe that they are called 'format placeholders', as suggested by this wikipedia article: http://en.wikipedia.org/wiki/Printf_format_string#Format_placeholders

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!