• 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
Multiline srings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiline srings


  • Subject: Multiline srings
  • From: Jay Kickliter <email@hidden>
  • Date: Tue, 17 Feb 2009 22:52:35 -0500

I need to embed an NSString into a command tool. It is a template for a file that will be filled in with data from input files. I've been scouring the web and I can't find anything about declaring multi-line objective-c strings. Is there any way to avoid having to manually?

Here's just the first few lines:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2";>
  <Document>
    <name>%@</name>
    <Style id="%@">
      <LineStyle>
        <color>7f00ffff</color>

Do I have to manually conver it to @"<?xml version=\"1.0\" encoding= \"UTF-8\"?>\n<kml xmlns=\"http://earth.google.com/kml/2.2\";>" etc....? Or is there some way to keep in multi-line for clarity?

thanks,

Jay

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Multiline srings
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: NSTableView behavior changes
  • Next by Date: Re: display unicode string one character at a time, not at simple as it seems
  • Previous by thread: Re: NSTableView behavior changes
  • Next by thread: Re: Multiline srings
  • Index(es):
    • Date
    • Thread