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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T23:12:16+00:00 2026-05-20T23:12:16+00:00

I have a JSON feed of articles with 10 articles per page. JSON structure

  • 0

I have a JSON feed of articles with 10 articles per page. JSON structure is something like this

{ 
  "total_entries": 150,
  "next_page": "http://localhost/?page=2",
  "entries": [{"title": "Title 1"}, {"title": "Title 2"}],
  "per_page": 10
  "current_page": 1
}

I want to show the titles in UITableView and when you scroll down, the app should fetch articles from the next page.
Right now I’m fetching the first 10 articles in viewDidLoad. The pagination logic, if I understand it correctly, should happen in

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath

What’s the best way to structure such an app? Should I store all articles that I get from JSON in memory? Then it can be up to 150 NSDictionary objects, all of them are pretty small though. Or should I save articles in sqlite or core data? Are there any examples of dealing with UITableView and paginated lists that come from a web service?

  • 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-20T23:12:17+00:00Added an answer on May 20, 2026 at 11:12 pm

    great example of parsing XML from webservices is SeismicXML from Apple

    https://developer.apple.com/library/content/samplecode/SeismicXML/Introduction/Intro.html

    and I found another one for you – iPhone JSON Flickr Tutorial

    http://iosdevelopertips.com/networking/iphone-json-flickr-tutorial-part-1.html

    this is rather old (2009) but hope it helps to figured it out ^)d

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

Sidebar

Related Questions

I have a json feed from this URL which contains 20 fields and I
I have JSON text that looks like this: { ok: true, totalPages: 256, arReports:
i have json data like this {GetStudentDetails: {TotalCount:5, RootResults:[ {city:West Chester,country:USA,state:PA ,student_id:100}, {city:Philly,country:USA,state:PA,student_id:101}, {city:Buffalo,country:USA,state:NY,student_id:102},
I have an array of dictionaries from a JSON feed. This populates a UITableView
I have a JSON feed that drupal spits out time in this format: 2010-12-16T04:41:35Z
I have created a jQuery plugin that grabs a JSON feed (in this case
I have the following jQuery (info from here http://www.threelas.com/2012/02/basic-blogger-json-feed-api.html ). the problem i am
I have a JSON feed (which I don't directly control, I have to ask
I have a JSON feed data with lots of user relation in it such
I have a news feed where items in the feed are created from JSON

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.