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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:42:35+00:00 2026-05-15T18:42:35+00:00

In my application one is mainviewcontroller which is subclass of uiTableviewcontroller holds data from

  • 0

In my application one is mainviewcontroller which is subclass of uiTableviewcontroller holds data from plist when clicked on a particular cell its displays detailviewcontroller(dvc) which is subclass of uiviewcontroller. dvc holds textfield & button .actually when i clicked on button i write textfield’s text on tableviewcell through plist but it is actually write data temporary but i want to write data permanently on tableview what can i do for that .its a navigation based application?

  • 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-15T18:42:35+00:00Added an answer on May 15, 2026 at 6:42 pm

    Try this:

    Loading the plist to dictionary:

    //Get the path to documents directory
    NSString *rootPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0];
    NSString *plistPath = [rootPath stringByAppendingPathComponent:@"listData.plist"];
    
    //if the file does not exist in documents directory, then load from the bundle.
    if (![[NSFileManager defaultManager] fileExistsAtPath:plistPath]) {
       plistPath = [[NSBundle mainBundle] pathForResource:@"listData" ofType:@"plist"];
    }
    
    //load plist into NSMutableDictionary.
    nes.plistDict = [[NSMutableDictionary alloc] initWithContentsOfFile:plistPath]; 
    

    Saving dictionary to plist:

    //Get the path to documents directory
    NSString *rootPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0];
    NSString *plistPath = [rootPath stringByAppendingPathComponent:@"listData.plist"];
    
    //Write to documents directory! NOT bundle!!
    [nes.plistDict writeToFile:plistPath atomically: YES]; 
    

    Also use:
    [nes.plistDict setObject:txtName.text forKey:@”col1″];
    Not:
    [nes.plistDict setValue:txtName.text forKey:@”col1″];

    If this does not help can I see youre cellForRowAtIndexPath in mainviewcontroller?

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

Sidebar

Ask A Question

Stats

  • Questions 514k
  • Answers 514k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer If no one else has pulled, you should just get… May 16, 2026 at 6:19 pm
  • Editorial Team
    Editorial Team added an answer The only problem is your line here: [dockDict setValue:YES forKey:@"mcx-expose-disabled"];… May 16, 2026 at 6:19 pm
  • Editorial Team
    Editorial Team added an answer You need to show the form modally, using ShowDialog instead… May 16, 2026 at 6:19 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I'm building an application based on the Utility template from Xcode, to which I
in my MainViewController implementation, I need to access variables from two different classes. one
I want applications to share certain database data. I want one application to retrieve
I have a Django application. One of my models looks like this: class MyModel(models.Model):
I have two targets in my iPhone application: one for my actual app, and
I'm building a small GUI-Test automation tool in C# for a application. One of
I am considering writing a mobile application for one of the following mobile platforms:
I found this piece of code in one application Database database = DatabaseFactory.CreateDatabase(connection string);
i want to integrate googles ads to my application. the one that you see
I've read where you create a new application pool, one for 2.0 sites and

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.