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

The Archive Base Latest Questions

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

I want to add key pair values in plist . I dont know how

  • 0

I want to add key pair values in plist. I dont know how to add the .plist file in XCode. Simply i want to add these details in .plist file named as "Mobile.plist".

Apple - iPhone,iPod,iPad
Samsung - Galaxy Y, Galaxy R, Galaxy Z
Nokia - Lumina
LG - Lg1 ,Lg2, Lg3

I have tried the steps to create a new Mobile.plist file by using this link,

http://iphoneincubator.com/blog/tutorial/how-to-create-an-iphone-preferences-file. But, i cant get it exactly. When i tried to use the steps from this link, the plist file always empty. I don’t know how to add the key, values in plist.

I have created one group named as Settings and add new plist file named as Root.plist. Can you please provide the steps to create .plist file and add key,values in it.

  • 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-28T20:23:35+00:00Added an answer on May 28, 2026 at 8:23 pm

    Right click on the folder you want to add it to and choose “New file…”

    From the Dialog – create a new Resource file of type Property List:

    enter image description here

    Give it whatever name you want, the plist extension will be added for you. In this case I’ve created Root.plist

    This will bring up a blank file with columns for Key, Type and Value.

    enter image description here

    Right click in the file and choose “Add Row”

    enter image description here

    Choose any of the presented options, you’ll be overwriting it anyway.

    enter image description here

    Now change the Key to “Apple”. Right click in the type section, where it currently says String and change it to Array.

    enter image description here

    Click on the disclosure triangle next to where it says Apple so it faces downwards and then right click in the row and choose “Add Row” This will create a subrow under the Apple key. Repeat this until you have three rows:

    enter image description here

    Edit the values to the three items that you want

    enter image description here

    Click on the Disclosure triangle to the left of “Apple” on the top row so it points to the right. Right click on the row and choose “Add Row”. This will create a new top level item.

    enter image description here

    Since you have four top level items, each which contains an array, repeat the above process so that you get the structure you want.

    enter image description here

    If you want to see the raw plist file, right click on the plist file in the project navigator and choose “Open As | Source Code”

    enter image description here

    And you’ll see the raw file

    enter image description here

    And to get back to the editor view: right click on the file again and choose “Open As | Property List”

    enter image description here

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

Sidebar

Related Questions

I want to create registry key through java program to add the jar file
I want to add a key, value pair into a hashtable (or any other
I have two variables, key and value , and I want to add them
I have a list of string values that I want add to a hashtable
Is there anyway to add custom key/value pairs in the Routing file of a
I want to find most optimal way to iterate values in key in python.
If I want to loop over a Dictionary(Key, Value)... why cant I add a
I want to store an list of key value pair lists in a lightweight
I want to generate a link on my page where a key/value pair is
I want add my custom sidebar next right column all page. Please check this

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.