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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:28:55+00:00 2026-05-23T03:28:55+00:00

Newbie here :-) Can anyone help me with a suggestion for the best time

  • 0

Newbie here 🙂
Can anyone help me with a suggestion for the best time to write data in a UITableView/NSArray data source to a plist file?

I’m thinking of the TableView’s life cycle. In a small list based, single view app, which would be the best view event to make a safe copy of the data in the NSArray?

I’m thinking the about the view’s dealloc method, or the viewDidUnload method.

Am I way off??

Also, if this app had multiple views, using a tab controller or nav controller, should I handle it in the same way (each view for its self) ?

-Nick

  • 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-23T03:28:55+00:00Added an answer on May 23, 2026 at 3:28 am

    viewDidUnload is the right answer in all cases – do not do anything model related in dealloc.

    If your view never unloads – you will have to adopt another method – either a timer or another event in your app – say save it every time a cell is edited.

    As the iPhone uses a Flash disk, writing to files is quick.

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

Sidebar

Related Questions

Newbie here...can I write one program which incorporates .NET LINQ and also various Java
Rails newbie here. Can anyone please explain the difference to me between the following
I am a newbie at RegEx, so I need some help. Can anyone help
I am a regex newbie and can't seem to figure this one out. Here
I'm newbie with Nhibernate. Hope I can find the answer here. This is my
newbie here, so thanks in advance for help! I have a Wordpress site with
SQLDF newbie here. I have a data frame which has about 15,000 rows and
Possible Duplicate: Validate email address in Javascript? Can anyone help me with email validation
Im a newbie to android and with the help of some experts i write
Newbie here. I'm using codeigniter and mysql How can I dynamically (number of names

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.