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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to