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 440001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T20:49:44+00:00 2026-05-12T20:49:44+00:00

A bit cryptic, which is also what drives me to start a thread in

  • 0

A bit cryptic, which is also what drives me to start a thread in here, I simply can’t find the words to Google the challenge.

I’m building an app that will have 2 search views that displays 1400 and 16000 possible choices. It is plain lists, no relational or otherwise spanning data.

As far as I can figure out I have 3 possibilities:

  1. Write a script to have it preloaded into my Core Data Model and pull it from there when I need the list.

  2. Build a plist file I bundle with the app and read the data out from there.

  3. Put a text/xml/json file into the app and read it from there..

  4. oh fourth crazy possibility, actually write a ValueObject.m that contains all these pieces of data.

I only need to display them in a tableView with a searchBar, have the user select one and I’m done with it. (I pull a string value from the selection and stuff it into my web service query)

As this is quite some lists, what would be a good way to go about it, I would like to avoid as much parsing/data handling as possible to speed things up.

Hope some can point me in a direction so I don’t have to speed test each of these possibilities 🙂 or even better someone comes along with a 5. and even better possibility:)

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-05-12T20:49:45+00:00Added an answer on May 12, 2026 at 8:49 pm

    Easiest way is to go with #2. You can’t get much easier than an XML file that can be easily read into an NSArray. I don’t have hard numbers, but I would have to guess this is the fastest option as well.

    NSString* plistPath = [[NSBundle mainBundle] pathForResource:@"largelist" ofType:@"plist"];
    theArray = [NSArray arrayWithContentsOfFile:plistPath];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 231k
  • Answers 231k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Use the following function like this: Image('/path/to/original.image', '1/1', '150*', './thumb.jpg');… May 13, 2026 at 2:13 am
  • Editorial Team
    Editorial Team added an answer Check you database schema to see if the field (referenced… May 13, 2026 at 2:13 am
  • Editorial Team
    Editorial Team added an answer I figured out the problem - there was a session… May 13, 2026 at 2:13 am

Related Questions

I have 3 tables in my DB (MySQL). categories (name:string) items (name:string, category_id:int) votes
I'm working on a project which has a rich domain-model. Some of my classes
My co-workers complain that my Perl looks too much like C, which is natural
My code used to work fine, and now it's breaking. A reduction of the

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.