• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Converting a .strings text file to a NSArray or NSDictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Converting a .strings text file to a NSArray or NSDictionary
      • From: Jan Grathwohl <email@hidden>
  • Prev by Date: Re: WebObjects 5.3 and J2SE 5.0
  • Next by Date: Re: Regular v Servlet resource manager use
  • Previous by thread: Re: WebObjects 5.3 and J2SE 5.0
  • Next by thread: Re: Converting a .strings text file to a NSArray or NSDictionary
  • Index(es):
    • Date
    • Thread