What are these called in Objective C? @"%@"
@"%d"
@"%i"
相关问题
- CALayer - backgroundColor flipped?
- how to split a list into a given number of sub-lis
- Core Data lightweight migration crashes after App
- back button text does not change
- Generate string from integer with arbitrary base i
相关文章
- 现在使用swift开发ios应用好还是swift?
- JSP String formatting Truncate
- TCC __TCCAccessRequest_block_invoke
- xcode 4 garbage collection removed?
- Selecting only the first few characters in a strin
- Xcode: Is there a way to change line spacing (UI L
- Unable to process app at this time due to a genera
- How can I add media attachments to my push notific
I believe that they are called 'format placeholders', as suggested by this wikipedia article: http://en.wikipedia.org/wiki/Printf_format_string#Format_placeholders
They are
NSString literal
s. More specifically, they look they are being used as formatting strings forprintf
style functions.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