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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T15:12:41+00:00 2026-06-12T15:12:41+00:00

I am doing an iphone app using a storyboard on xcode and on one

  • 0

I am doing an iphone app using a storyboard on xcode and on one of my tableviews I would like to display the english premier league table which I will load from a file or a database on to the table view. my question is how i can connect this table to the internet so it can update the team positions every week after they play? what is this action called is it RSS feed or ftp push? some people are using Json and a database but this is too confusing for me as I am very new in this field. I would like to know what guys think and will be greatful for your answers. Thanks in advance! Stan

  • 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-06-12T15:12:43+00:00Added an answer on June 12, 2026 at 3:12 pm

    JSON is easy and ubiquitous if you use web services with iOS. It will make it easier for you to display results in table form too.

    I would think about defining the teams as Core Data objects. You might want to make objects for Division and Team (sorry if the terminology is wrong, don’t know a lot about EPL) to allow for teams being relegated or moving up. In each Division you would have a relationship of teams, so you could display the ladder for any division just by fetching the Division object from core data and then getting a NSSet of all the teams with division.teams.

    Then you fetch the information about the teams. Probably you would receive a JSON feed with information about each team. You would parse the received data using NSJSONSerialization (built into iOS) and store it in Core Data.

    You could use RestKit, which can handle the network requests and map received JSON directly to Core Data if you spend a bit of time configuring it. Or you could use AFNetworking if you prefer to do the parsing yourself.

    To display the data you could use a NSFetchedResultsController. Once you have set up the query and done the initial fetch you connect the table view to it, and the ladder is displayed. NSFetchedResultsController requires a sort descriptor – it would probably be ladder ranking in your case. Setting the view controller containing the table view as the delegate for the NSFetchedResultsController.

    Doing the periodic update is easy. Whenever your app enters the foreground you do a check of the timestamp on your Core Data objects and see if it is old enough for you to kick off a refresh (or just store a simple NSDate string somewhere, like NSUserDefaults, whenever you do a fetch). If it is, do the fetch/parse/update cycle again – your table updates automatically because the NSFetchedResultsController will be notified that the underlying data has changed and it will cause the table to refresh.

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

Sidebar

Related Questions

I am doing unit testing on my iPhone app using OCUnit on XCode 3.2.3,
I'd like to do OAuth for Twitter from an iPhone app. But doing so
I've created a table view in an iPhone app using Interface Builder (IB). My
I am doing login using facebook section of my iphone app. I want to
I am currently creating an iPhone app using Xcode 4.0.2, I want the app
I am doing a iPhone app using Phonegap & also using jquery mobile. I
I am doing one simple application using iPhone calendar, where I need to import
I would like to allow my iPhone App users to view and select from
On my iPhone app I'm using a UISearchBar (without a Search Display Controller). I
I am using ShareKit in my iphone app I am currently developing and would

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.