views:

39

answers:

1

I've got a long string an sql statement, which I want to wrap onto the next line in the xcode editor, how do I wrap it round e.g.

[db executeUpdate:@"insert into test (rid, one, two, amount, startdate, recurrance) values (nil, ?, ?, ?, ?, ?)",
+3  A: 

Try:

[db executeUpdate:@"insert into test (rid, one, two, amount, values"  
                   " startdate, recurrance)(nil, ?, ?, ?, ?, ?)",...
Vladimir