What is the syntax for new line in Objective-C?

前端 未结 6 1021
眼角桃花
眼角桃花 2020-12-17 15:07

Can anyone tell me what is the symbol used for new line?

In the C language we use \'\\n\' for new line. What do we use in Objective-C?

is it sam

6条回答
  •  情话喂你
    2020-12-17 15:11

    Straight from the dragons mouth. http://developer.apple.com/library/mac/#documentation/cocoa/conceptual/Strings/Articles/stringsParagraphBreaks.html

提交回复
热议问题