Name for %@ %d in an NSString

后端 未结 3 1846
遇见更好的自我
遇见更好的自我 2020-12-11 08:38

What are these called in Objective C? @\"%@\" @\"%d\" @\"%i\"

3条回答
  •  悲&欢浪女
    2020-12-11 09:00

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

提交回复
热议问题