Re: Soft return in XCode
Re: Soft return in XCode
- Subject: Re: Soft return in XCode
- From: Lorenzo Thurman <email@hidden>
- Date: Wed, 26 May 2010 17:34:43 -0500
I was unaware of this. I had been just hitting return somewhere in the
string and getting a compiler error. i.e.
@"some
Very
Long
String"
Complier error
Thanks for the tip. Is this documented somwhere? I'll bet there are
more "I didn't know that" moments awaiting.
--"My break-dancing days are over, but there's always the funky chicken"
The Full Monty
On May 26, 2010, at 4:48 PM, Dave Carrigan <email@hidden> wrote:
On May 26, 2010, at 2:39 PM, Lorenzo Thurman wrote:
In the past, one could simply hit option-enter, but the IDE in
XCode doesn't respect that. How does one go about that? I have a
really long string literal that I'd like break into smaller chunks.
NSString* veryLongLiteral =
@"This is a "
"very very "
"long literal "
"and is completely "
"compliant with the "
"C specification";
--
Dave Carrigan
email@hidden
Seattle, WA, USA
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden