Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to save locally saved xml file into .plist file

Tags:

People also ask

Is plist an XML?

Apple's Property List XML Is Pointless. Apple has a data format called “property lists” (or “PLists” for short). It is basically a heirarchy of lists, maps, and a few primitive types (like strings, booleans, etc.).

What is a plist file?

The term “plist” is actually short for Info. plist or Information property list file. The plist is a special file that configures your mobile app, telling it how to run. Every iOS app uses an Info.

What is a plist in Swift?

What's a Plist? A property list, or plist, is an XML file that contains key-value data. It's easiest to compare with a dictionary in Swift, so it's a list of values associated with keys.


I need to write and update XML file based on nodes.

For that I found that I need to convert local XML file into plist file.

Then I can able to update, read and write into plist file as we need.

But I didn't found any sample code regarding this.

Can anyone please post some code regarding how can I save local xml file into plist file?

How can I read, write and update that locally saved plist file?