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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T20:34:38+00:00 2026-05-22T20:34:38+00:00

I am intending to implement pagination in a tableview. Currently, I am using the

  • 0

I am intending to implement pagination in a tableview.

Currently, I am using the following method to retrieve a JSON file from the server

 NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://allPhotos.com/photos.json"]];
 [[NSURLConnection alloc] initWithRequest:request delegate:self];

I was wondering if anyone can advise me on the following:

1) How can I implement pagination like what we have in the iPhone app store where the table will load the next set of cells only if the user clicks on the cell with the text ‘Twenty Five More…”

2) What kind of commands do I need to send to the server so that it will return me only a subset of the items in the JSON file?

  • 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-22T20:34:39+00:00Added an answer on May 22, 2026 at 8:34 pm

    You can add some parameter to your URL. maybe like this

    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://allPhotos.com/photos.php?page=1"]];
     [[NSURLConnection alloc] initWithRequest:request delegate:self];
    

    evertime that user click more button, you keep increasing page number. Your server will also have to perform some server-side codes such as check the value of page and return a subset of json file.

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

Sidebar

Related Questions

I'm about to implement a simple server from scratch, intending to maximum throughput (ie,
I did substantial work developing CLR routines to implement DAL functionality using VS2010 intending
Well i am intending to implement a paired connection between server and client ,
I'm intending to create a flash app that pulls images from facebook and displays
In an embedded application programmed on C on ARM7 (with portability requirements), currently using
I am intending to use the n-gram code from this article . The algorithm
I am intending to develop a story book using cocos2d. So i think i
I have a website with the following architecture: End user ---> Server A (PHP)
We have a patch model where we're intending on using cset.pl -findmerge <activity> to
I have the following HTML intending to make sure that the inner span isn't

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.