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

  • Home
  • SEARCH
  • 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 6082999
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:21:05+00:00 2026-05-23T11:21:05+00:00

Web service sends data to iOS client, and client shows data with UITableView. Data

  • 0

Web service sends data to iOS client, and client shows data with UITableView.

Data is usually article of built-in board, text list. It is sent from web service via json format. (sometimes XML)

It doesn’t need to be updated in real-time, but I don’t want to block UI due to loading of web service.

There’s many ways to implement it, which way do you proper? 1. or 2. ?

  1. UITableViewController handles json object.

    Simple way, but it can be complicated to coding up.

  2. Use CoreData as local database.

    There’s local repository for articles, when json data is came from web service, it updates local CoreData repository. (async web service load)

    and UITableViewController <> handles update of local CoreData repository, and update UITableView with animation.

I think second way is better to implement without spaghetii code, but I’m afraid there’s other performance issue, or isn’t it totally stupid code?

Friends, how do you implements list of data from web service usually?


More comments:

I found SeismicXML example from Apple SDK, it is well-implemented example of way 1.

but I think it can be implemented easily by using CoreData as local repository.

  1. Get data from web service (async), and put data into CoreData

  2. UITableViewController updates UITableView in NSFetchedResultsControllerDelegate methods.

How do you think of this strategy?

  • 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-23T11:21:06+00:00Added an answer on May 23, 2026 at 11:21 am

    Check out RestKit. They have an example of a discussion board client for iPhone that gets it’s data from a discussion board server (also supplied in the example – built on rails) via json and stores it to core data db on the iphone. very elegant imo.

    http://restkit.org/

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

Sidebar

Related Questions

Basically my app is interacting with a web service that sends back a weird
I have an application that sends messages to an external web service. I build
The web service endpoint usually is defined in an early stage of a project.
I'm looking for a web service testing framework that has a good built in
I am building an application that queries a web service. The data in the
I have a ASP.NET web service that I used to asynchronously save data to
I'm finishing up my first web service. It stores data on a dataset that
I'm using SimpleXML to get pieces of data from an XML web-service response. We
I have some Rails web service, and iOS iPad app. This iPad app need
I am writing an app for iOS that uses data provided by a web

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.