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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T22:39:26+00:00 2026-05-14T22:39:26+00:00

I am working on a project where I have a table view that is

  • 0

I am working on a project where I have a table view that is currently updated via a web request that returns XML. I implemented

-(int)numberOfRowsInTableView:(NSTableView*)tv

and

 -(id)tableView:(NSTableView *)tv objectValueForTableColumn:(NSTableColumn*)tableColumn row:(int)row

in my XML parsing class, and have the table updated with the data that is pulled down from the server.

I want to save the data that is pulled down using Core Data, so that the table can be saved/loaded. Then later on application start when the web request is made, it will only add data that is not already present. (The XML is sorted by release date, so later I will check to see which release dates are not loaded up from the Core Data store, and only load newer entries.)

How would I go about implementing this? I am a very new Cocoa developer, but have gone through the entire Hillegass book. Thanks so much.

  • 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-14T22:39:26+00:00Added an answer on May 14, 2026 at 10:39 pm

    There are two big pieces that you’re talking about here: parsing XML, and persistence with Core Data.

    (1) I have had some success using this wrapper around NSXMLParser to read XML files. I’ve heard of but have not used more recent libraries, but this may provide a starting point for you. The linked article is quite thorough about usage.

    (2) The first thing you will want to do with Core Data is create a new data model. From there, you can create an model class (with @dynamic properties) to easily interact with your database through Core Data (using things like NSManagedObjectContext and its ilk). You can get a gentle introduction here, or jump in a little further along here.

    Implementing Core Data is non-trivial, especially for newer developers. I’d encourage you to seek out tutorials on particular topics as they arise.

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

Sidebar

Related Questions

Hi i'm working on project that have a table view with 10 controllers every
I'm working on a project that will have a single table holding lots and
I have a fully working Setup project within Visual Studio 2008 that takes inputs
I have a web project working perfecly on my web server and on my
I'm working on a project where we have several SOAP Web Services developed on
I am currently working on a project for school that is a java memo
I'm working on an iOS 5 project and I'm using a table view to
I have a simple mvc project consisting of one table named Persons and that
I'm currently working on a seam project and have a problem. I just created
OK, so I have two tables I'm working with - project and service ,

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.