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.
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.
精彩评论