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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T19:01:09+00:00 2026-05-24T19:01:09+00:00

i am trying to create a planner application on iphone. I would like to

  • 0

i am trying to create a planner application on iphone. I would like to create a sub key/row in my plist in another view (That means, i’ll first create the structure of the plist in one view, and in the other view i would like to add another item into the already created plist). I would want my plist to look like this:

Root (Array)

  Item 0 (Dictionary)
        ProjectName (String)
        Stages (Dictionary)
               Analysis (Array)
                       ^Item 0 (Dictionary) 
                              Levels (String)
                              Tools (String)
                       ^Item 1 (Dictionary)
                              Levels (String)
                              Tools (String)
               Develop (Array)

 Item 1 (Dictionary)
        ProjectName (String)
        Stages (Dictionary)
               Analysis (Array)
                       ^Item 0 (Dictionary)
                              Levels (String)
                              Tools (String)
                       ^Item 1 (Dictionary)
                              Levels (String)
                              Tools (String)
               Develop (Array)

^ for now, i don’t have the item 0 and item 1 in my Analysis array and i would like to add it in but i don’t know the right codes to do it.

So in my first view, i would be able to add a new project and after adding, it will save in my plist as a dictionary, the first item 0 (i’ve code it that when the user saves the new project the stages dictionary with the analysis and develop array will be created in my plist as well).
— there would be item 1, item 2 and so on if the user choose to add more projects.

After the user has created(saved) a new project, he/she can go to the second view where he/she could choose a stage (Analysis/Develop).

So example, the user chooses the Analysis stage, he/she would be taken to another view which allows the user to add level(s) for the certain stage.

The problem i am facing is how am i suppose to add another dictionary item with strings into my existing Analysis stage in the plist (how to add a new value/item into an existing dictionary/array(row) in the plist)?

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-05-24T19:01:10+00:00Added an answer on May 24, 2026 at 7:01 pm

    If I understand you correctly you would do something like this:

    [analysisArray addObject:newDictionary];
    

    Is that what you mean?

    EDIT: To replace the dictionary at item 0 with a new one:

    int row = 0;
    [analysisArray replaceObjectAtIndex:row withObject:newDictionary]
    

    To set an individual key at item 0:

    int row = 0;
    rowDictionary = [analysisArray objectAtIndex:row];
    [rowDictionary setValue:value forKey:key];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to create my first iPhone app that would play back audio. When I
Trying to create a small monitor application that displays current internet usage as percentage
I'm trying create this function such that if any key besides any of the
I am trying create a small web application that allows a user to login
I am trying create a WCF service that leverages the WPF MediaPlayer on the
Trying to create a QtRuby application, I get the following error: /usr/lib64/ruby/site_ruby/1.8/Qt/qtruby4.rb:2144: [BUG] Segmentation
Trying to create a list to return some JSON data to a view. Following
I'm trying create a RCP Application with Eclipse, but I can't get past the
I'm trying create a box in my Django app that displays text (and possibly
I'm trying create a ASMX webservice that can perform a HTTP GET request. I

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.