NSString: newline escape in plist

iphone, nsstring, plist

Solution

If you're editing the plist in Xcode's inbuild plist editor, you can press option-return to enter a line break within a string value.

Problem

I'm writing a property list to be in the resources bundle of my application. An `NSString` object in the plist needs to have line-breaks in it. I tried `\n`, but that doesn't work. What do I do to have newlines in my string in the plist? Thanks.

Original source