• 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: 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


  • Follow-Ups:
    • Re: Soft return in XCode
      • From: Dave Carrigan <email@hidden>
References: 
 >Soft return in XCode (From: Lorenzo Thurman <email@hidden>)
 >Re: Soft return in XCode (From: Dave Carrigan <email@hidden>)

  • Prev by Date: Re: Soft return in XCode
  • Next by Date: Re: Soft return in XCode
  • Previous by thread: Re: Soft return in XCode
  • Next by thread: Re: Soft return in XCode
  • Index(es):
    • Date
    • Thread