Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Right click on the folder you want to add it to and choose "New file…"</p> <p>From the Dialog - create a new Resource file of type Property List:</p> <p><img src="https://i.stack.imgur.com/lnzVJ.png" alt="enter image description here"></p> <p>Give it whatever name you want, the plist extension will be added for you. In this case I've created Root.plist</p> <p>This will bring up a blank file with columns for Key, Type and Value.</p> <p><img src="https://i.stack.imgur.com/SCMBd.png" alt="enter image description here"></p> <p>Right click in the file and choose "Add Row"</p> <p><img src="https://i.stack.imgur.com/bJIB7.png" alt="enter image description here"></p> <p>Choose any of the presented options, you'll be overwriting it anyway.</p> <p><img src="https://i.stack.imgur.com/YOjck.png" alt="enter image description here"></p> <p>Now change the Key to "Apple". Right click in the type section, where it currently says String and change it to Array.</p> <p><img src="https://i.stack.imgur.com/MrRcq.png" alt="enter image description here"></p> <p>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:</p> <p><img src="https://i.stack.imgur.com/wzPes.png" alt="enter image description here"></p> <p>Edit the values to the three items that you want</p> <p><img src="https://i.stack.imgur.com/mDYIV.png" alt="enter image description here"></p> <p>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.</p> <p><img src="https://i.stack.imgur.com/V5XB1.png" alt="enter image description here"></p> <p>Since you have four top level items, each which contains an array, repeat the above process so that you get the structure you want.</p> <p><img src="https://i.stack.imgur.com/XlooP.png" alt="enter image description here"></p> <p>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"</p> <p><img src="https://i.stack.imgur.com/eGUq6.png" alt="enter image description here"></p> <p>And you'll see the raw file</p> <p><img src="https://i.stack.imgur.com/KbKgw.png" alt="enter image description here"></p> <p>And to get back to the editor view: right click on the file again and choose "Open As | Property List"</p> <p><img src="https://i.stack.imgur.com/Jz0gS.png" alt="enter image description here"></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload