In C# there is something called @-quoted string literal, it is written like this @"<some text>"
.
For example, @"a\nb"
would consist of the characters 'a', '\', 'n' and 'b', while the normal string "a\nb" would consist of 'a', '\n' and 'b'.
The question is, is there something similar in ObjC? where everything within the string is taken as is.
No.
@""
is a reservedNSString
literal. You'll unfortunately need to escape the special characters with a backslash.