On Nov 26, 2013, at 12:16 PM, Bryan Schmiedeler <bryanschmiede...@me.com> wrote:

> I have the HTML all done, now I am just putting it into mutable string line 
> by line. I am using / to escape when I need a quote in the HTML. 

Are you saying you’re putting the HTML in hardcoded string constants in the 
code? Don’t do that. It’s awkward and it’s hard to maintain. 

Save the HTML in a file, add the file to your project, then use NSBundle to 
locate the resource file and then load it into a string or NSData at runtime.

—Jens
_______________________________________________

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

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

Reply via email to