What is the use of plist?

Viewed 27683

In my application, I am using a plist. Please, can anyone explain what are the uses of plist with an example or a sample code?

6 Answers

.plist

Info.plist is key/value persistence storage(property list) which is used by system and user. It contains user-friendly text in XML format. Info.plist is mandatory file for any Bundle. For example it contains Bundle id[About] which is usually is used by system but as a programmer/user you are not limited on changing/reading[More]. The same as you can add K/V for your own purposes and. read it in runtime. You could noticed that some frameworks forces you to add K/V into your's application to identify you or some other cases.

[Info.plist location]

[Vocabulary]

Related