开发者

What does "@" do when using NSLog function?

开发者 https://www.devze.com 2023-03-08 19:12 出处:网络
Why do we need to put the \"@\" befor开发者_如何学JAVAe the quotation mark when using NSLog()?@\"...\" is a NSString.

Why do we need to put the "@" befor开发者_如何学JAVAe the quotation mark when using NSLog()?


@"..." is a NSString.

"..." is a C string.

NSLog() takes a NSString as argument.

0

精彩评论

暂无评论...
验证码 换一张
取 消