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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:20:56+00:00 2026-05-28T02:20:56+00:00

Hi I am a newbie to iPhone programming. I have been looking at some

  • 0

Hi I am a newbie to iPhone programming. I have been looking at some tutorials online for using SQLite on the iPhone.
From what Iv’e seen, one has to read the entire database in the app delegate method and then store the contents in an array. This is then used to populate a UITableView.

I was wondering how this can be efficient? I mean, if you are going to store the contents of your entire database in memory why have a database?

Is this standard practice?

Instead of this, if I use Core Data, I can set the paging size and it will optimize how much data is stored in memory and only read whats being shown within the visible cells.

Is there anyway, In can have the same functionality using SQLite? so its easy on memory. I mean my database has only 300 entries now, but what if in the future it has 3 million?

Can some one please assist me in understanding this….

Are there any tutorials for SQLite that show how to do it in an optimized way?

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-28T02:20:56+00:00Added an answer on May 28, 2026 at 2:20 am

    I would suggest using Core Data. It’s extremely powerful, better supported than a SQLite table, and not as complicated as it looks, it just uses a lot of “managed object” jargon which can be daunting at first. Check out the CoreDataHelper class, and a few tutorials. I was able to get Core Data working in a few days (in my first ever app) using the links in my comment

    If you’re familiar with SQL, basically Core Data works like this: the Persistent Store IS a SQLite table, but you never access it directly; the managedObjectContext is where you do all the data work in your program (and don’t forget to save it to the persistent store!), while an Entity is a table, attributes of that entity are your columns, and a managed object is a row.

    Further Reading:

    • Core Data Tutorial – YouTube
    • Core Data Tutorial: Getting Started | Ray Wenderlich
    • iPhone Core Data: Your First Steps
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a newbie in iPhone Programming. I'm trying to send a message from one
I am a newbie in iPhone development, doing my first app. I have some
I have a web app, that also has an iPhone and Android app using
I am newbie to iPhone programming. I have the following doubt which is stopping
I am newbie to iPhone programming. I am not using Interface Builder in my
I am a newbie in IPhone programming.I was sending one of my views screen
I am total newbie to Android but I have some knowlege of iPhone apps.
I am a newbie with iphone programming. I need some help with this code.
I'm a newbie to iphone development and I've been struggling with an EXC_BAD_ACCESS error
I'm just a newbie of Objective C iPhone programming... I see a lot of

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.