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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:12:40+00:00 2026-05-30T11:12:40+00:00

I’m looking for some technical guidance, perhaps a tutorial. I’m having to cater for

  • 0

I’m looking for some technical guidance, perhaps a tutorial.

I’m having to cater for a lot more rows / cells in a table view that I had anticipated.

I already have the view / screen developed / released, however its slow if theres a lot of records, which hasn’t been the case until this upcoming release.

I think I’ll need to use limit / offset with my sqlite query, however I have sections in my table etc.

I’m also going to have to create a cell / row where users tap to say, show the next 50 records.

This must be quite a common issue, which must have been discussed before.

My issue is the time it will take to develop this feature. I’m too far into the project to convert to core data

  • 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-30T11:12:41+00:00Added an answer on May 30, 2026 at 11:12 am

    Maybe Core Data could be a valid solution. If you use a NSfetchedResultController (with its NSFetchRequest) linked with a UITableView, items are managed for you.

    But if you don’t want to use Core Data, here a simple suggestion on how to do that:

    Load in the model a bunch of data (say the first 50 items). Once loaded, the model is used to present data on the table. When the user reach the end of the table, I show a “Show more” label in the footer section for that table view. Then if the user click on it, load again data (other 50 items), cache them in the model and reload the table, and so on.

    This trick can be applied if you have one section and multiple rows.

    Hope it helps.

    EDIT

    If you don’t want to use Core Data I’ll do the following (some guidelines).

    Using LIMIT SQL statement to limit the number of results (e.g. 20).

    In your .h create an offset variable like:

    NSUInteger offset;
    

    and a method like:

    - (NSArray*)fecthMore;
    

    Then in .m, implement that method like the following:

    - (NSArray*)fecthMore
    {
       // using the offset to retrieve the array of results (e.g resultArray)
       // the first time you grab the first 20 elements (0-19), the second time the next 20 (20-39)
       // and so on
    
       offeset += [resultArray count]; // next 20
       return resultArray;
    }
    

    With the returning array update eac time the model.

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a jquery bug and I've been looking for hours now, I can't
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have an MVC Razor view @{ ViewBag.Title = Index; var c = (char)146;
I'm having trouble keeping the paragraph square between the quote marks. In firefox the
I have some data like this: 1 2 3 4 5 9 2 6

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.