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
本文详细介绍了在iOS开发中如何有效利用NSLog()和NSString的字符串格式化功能,提供了常用的格式化符号解释及应用实例。
Used in NSLog() or [NSString stringWithFormat:]
74

被折叠的 条评论
为什么被折叠?
