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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:55:36+00:00 2026-05-16T05:55:36+00:00

I am working on a project where the app parses data from an XML

  • 0

I am working on a project where the app parses data from an XML file, saves it to a persistent store and populates a table view. Every time the app opens, if there is internet connection available, the persistent store gets recycled and the XML is parsed again as it gets updated quite frequently. If no internet connection is available I’ll just load the data from the latest parsing saved in my persistent store.

Once parsing is completed, users will then be able to browse through the objects and possibly mark them as favourites.

When this is done, I would like to be able to display these “marked as favourite” objects in a separate tab bar and keep them for as long as the user has them marked as favourites.

This could be done easily if the data from my persistent store wasn’t being recycled so frequently but since that’s not the case, I’d like to find the best way to:

  1. Create an additional persistent store;
  2. Be able to copy objects from one store to another

Or

Can you suggest a better way of implementing this?

Many thanks,

Rogerio

  • 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-16T05:55:36+00:00Added an answer on May 16, 2026 at 5:55 am

    You can juts flag them as favorite and then don’t delete or update them in the model. There is no need to copy the objects anywhere for something as simple as this.

    Put a boolean flag in the entity called “favorite” and then if that flag is set to YES, don’t update that entity on the next XML refresh and don’t delete it.

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

Sidebar

Related Questions

I am working a hobby project that is a file parsing library written in
All, I'm working on an Flash AS2 project that consumes and sends JSON. I'm
I have AS (as a plugin) working in another app just fine (I dont
I've got a django project working on a development server(ubuntu) that we have been
I am just getting started working on a Java Struts Hibernate based Web App
I made a web project in Java, using Java-WS. How can I invoke service
I'm working on a webapplication and i want to call a webservice through it's
Just a bit of background, I come from a strong C#/staticly typed background. Therefore
I'm working on a number of Django projects, and in most of them, I
question: How does Xcode generate the list of framework directories (-F flags in the

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.