Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7745565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:03:24+00:00 2026-06-01T10:03:24+00:00

My app needs many NSStrings containing differente hard coded web URLs, to be accessed

  • 0

My app needs many NSStrings containing differente hard coded web URLs, to be accessed according to user’s choice.

I’m looking for a convenient way to store all of these strings in one place, not being a custom Class.

I was reading about NSLocalizedString, that stores many strings on a .string file for localizations purposes, and I was wondering if I could create a custom .string file, like URLs.string.

Is that possible, to have a custom URLs.string file? If so, how to access the strings on it, like I would if it were a localized file self.titleLabel.text = NSLocalizedString(@"TITLE", nil);

Is this the best approach? Any other better idea? Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T10:03:25+00:00Added an answer on June 1, 2026 at 10:03 am

    That probably isn’t the best way to do it. If you want to have some strings stored that will be distributed withe the app, use a plist file. If these are strings that are discovered (downloaded from a server, entered by a user), use NSUserDefaults.

    If you want to ship some but modify them later, that can be done with a plist. Just write the modified copy in the documents dir and check for that before reading the bundle plist.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My web app has many jquery custom components, in which most of them needs
Our web app needs to be made PCI compliant, i.e. it must not store
Because the data size isn't little that my web app needs to load, it
I'm working on an app that needs many TabBar Items (6 or 7). I
I have a Ruby on Rails app that needs process many background jobs simultaneously:
I have a model with many different children (has_many). My app needs to lots
my app involves many viewcontrollers, some of which are memory heave-duty ones. The user
I have a C# app that needs to scrape many many pages within a
My app needs to do many datastore operations on each request. I'd like to
Many times, a Java app needs to connect to the Internet. The most common

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.