Plist File in iPhone

Introduction

Plist stands for Property List. Here we see how to create a new plist file or add it to a project. Here I will explain
Step by step the process to do it.

Step 1

Select a project file and right-click the mouse on it.

Step 2

Select "New file".
new-file-in-iPhone.png

Step 3

Now click on "Resource" then select "Property List" and click on "Next".
Resource-in-iPhone.png

Step 4

Now save it with the new name and click on "Create".
create-property-list-in-iPhone.png

Step 5

Now we see the plist file in the Supporting file folder.
plist-file-in-iPhone.png

Step 6

To add an item in the plist we click on the plist, select the Root key and a "+" icon appears; click on it.
click-on-plus-icon-in-iPhone.png

Step 7

Now here we add a new item and set the type or value.
add-new-item-in-iPhone.png

Step 8

After adding the new item we will see it as a plist item.
after-adding-item-in-iPhone.png


Similar Articles