Sunday, 8 September 2013

Turning plain text into NSString

Turning plain text into NSString

I have a list of words like: hello hi bonjour etc. I'm literally adding
@"" around every word manually. It's not bad, but when you have thousands
of words it can get really tedious. Is there a method, where you input a
bunch plain text like hello hi and it turns it into: @"hello" @"hi", which
I can then copy into code, or do I have to do this manually?

No comments:

Post a Comment