Converting a .strings text file to a NSArray or NSDictionary
Converting a .strings text file to a NSArray or NSDictionary
- Subject: Converting a .strings text file to a NSArray or NSDictionary
- From: Dev WO <email@hidden>
- Date: Tue, 26 Sep 2006 12:06:34 +0200
Hi:)
I've got a resource in my Framework (text.strings), I know I can access a specific key using WOResourceManager.stringForKey, but I need to create an array of all the key in the file.
I first though I could go through an InputStream like rm.inputStreamForResourceNamed ("text.strings", FrameworkName, null))
but I'm not sure what to do next...
I think I'm probably not going the easiest way. Maybe WOResourceManager already has a feature to get all the key-value in a NSArray or NSDictionary, but I can't find it.
Any pointer is greatly appreciated.
Thanks
Xavier |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden