Re: Newbie: Storing text for use in code
Re: Newbie: Storing text for use in code
- Subject: Re: Newbie: Storing text for use in code
- From: Jonathan Jackel <email@hidden>
- Date: Sat, 10 May 2003 10:48:09 -0400
NSString *yourForm = [[NSBundle mainBundle]
pathForResource:@"yourHtmlFile" ofType:@"html"];
NSMutableString *htmlString = [NSMutableString
stringWithContentsOfFile:yourForm];
Jonathan
On Saturday, May 10, 2003, at 01:24 AM, Andres Ramirez wrote:
>
Hello,
>
>
I've searched the archives, but their system is quite annoying. I was
>
wondering what is the proper way to keep a lot of strings that I might
>
need to use in my code. In the Carbon days, I would set them up in the
>
resource file, but I can't seem to find something similar for a nib
>
file. I guess I could trick a localization.string file for this, but
>
is there a better solution?
>
>
Thanks in advance.
>
>
If my question is too basic, feel free to send me to the right docs.
>
It's a lot to read, and I am slowly catching up.
>
>
- Andres
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.