• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Soft return in XCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Soft return in XCode (From: Lorenzo Thurman <email@hidden>)

  • Prev by Date: Re: Soft return in XCode
  • Next by Date: Re: managing xcode projects vs going back to makefiles
  • Previous by thread: Re: Soft return in XCode
  • Next by thread: Re: Soft return in Xcode
  • Index(es):
    • Date
    • Thread