Re: Soft return in XCode
Re: Soft return in XCode
- Subject: Re: Soft return in XCode
- From: Jean-Daniel Dupas <email@hidden>
- Date: Wed, 26 May 2010 23:49:59 +0200
Le 26 mai 2010 à 23:39, Lorenzo Thurman a écrit :
> 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.
>
If you write many literal string one after the other, the compiler automatically concat them and generate one single string:
const char *str = "my very very"
"long literal string";
It works with Obj-C string too:
NSString *str = @"My very very long"
"Obj-C String literal";
> --"My break-dancing days are over, but there's always the funky chicken"
> The Full Monty
> _______________________________________________
> 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
-- Jean-Daniel
_______________________________________________
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