views:

17

answers:

1

I asked a question earlier today "Xcode: How do I wrap a long string around to the next line in the xcode editor" ...

http://stackoverflow.com/questions/3778589/xcode-how-do-i-wrap-a-long-string-around-to-the-next-line-in-the-xcode-editor

... but this is going to be inconvenient, I`ve got some quite large sql statements, which are nicely formatted. In PHP I now you can do something like >> sql then << something like that.

Is there something similar in xcode?

+1  A: 

Nope. You'll have to escape the double quotes, or quote using single quotes instead.

mipadi
I know what you mean by escape them \" but I'm not sure what you mean, or how that would look
Jules
Put a blackslash before the quote: `NSString *sql = @"INSERT INTO tbl VALUES (\"my string\");"`
mipadi