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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:12:35+00:00 2026-06-15T06:12:35+00:00

In my universal iOS application I create a folder structure that is saved in

  • 0

In my universal iOS application I create a folder structure that is saved in a plist file. It is built like this:

  • [Array] Root
    • [Dictionary] Item 0
      • [String] Title
      • [Array] Children
        • [Dictionary] Item 0
        • [Dictionary] Item 1
    • [Dictionary] Item 1
      • [String] Title
      • [Array] Children
        • [Dictionary] Item 0
        • [Dictionary] Item 1
        • [Dictionary] Item 2
        • [Dictionary] Item 3
    • [Dictionary] Item 2
      • [String] Title
      • [Array] Children

With this structure I navigate through the folders. The contents of the current data source (always an array) are displayed in a table view. Now it may be that some data is changed. Therefore I want to refresh my table structure and the data to fill in. If this is done in the root folder there is no problem, but if I try it in any of the subfolders I can only refresh the current array. So if I navigate back to an upper level of the structure still the old data is used.

What would be good practice to update all of my data, but still stay in the currently selected folder (only if it still exists)?

Thanks in advance

  • 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-15T06:12:36+00:00Added an answer on June 15, 2026 at 6:12 am

    1, You have a class method which is for updating the plist like this: [MyMethod updatePlist];

    2, You have a parent view controller which has viewWillAppear or viewDidAppear methods. In there, you call [MyMethod updatePlist].

    3, All your viewController inherit parent view controller.

    So every time when you load a new view controller view, it always updated the plist. If necessary, you can add processing stuff to show loading.

    Is that helpful?

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

Sidebar

Related Questions

I'm using XCode 4.5.2 to create an iOS universal application. I'd like to use
I'm using core data in our iOS universal application and want the ability for
I have a universal iOS app with a custom view that has three buttons,
I am working on a Universal iOS Application on Xcode 4 . It's my
I've been following this tutorial: http://brandontreb.com/beginning-jailbroken-ios-development-building-and-deployment/ to get an application started by the name
I have a Universal iOS app that loads certain pages into the UIWebView for
I have an iOS application for which I want to create a ViewController programmatically.
I have a view-based iOS cocoa touch application built and is running on iPhone.
I working on a universal iOS app that gets news from an RSS feed.
I'm working on a universal iOS app and I'd like to see the raw

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.