在其他环境中使用Plists [英] Using Plists in other environments
问题描述
Pist是否仅限在OSX和iOS系统上使用?
Are Pists limited to be used on a OSX and iOS system?
我正在考虑我的应用程序的体系结构,通过Plist将数据导入iPhone应用程序的许多方法之一,您也可以保存到其中.
I am thinking of the architecture of my app and one of many ways to import data into an iPhone app is via a Plist and you can save to it as well.
现在,如果说能够以原始格式将plist导出到应用程序之外,那么可以说是Android或Windows Phone格式的plist吗?还是需要转换?
Now if say that plist is able to be exported away from the app in it's raw format, will it be accesible by say Android or Windows Phone format? Or will it need to be converted?
据我了解,Plist是XML格式,对吗? 我可能是错的,但是当我查看文件时,这就是我可以组成的文件.
The way I understand it is that a Plist is a XML format right? I am probably wrong, but that is what I can make up of the file when I look at it.
欢呼
推荐答案
您是对的. Plist实际上是带有plist header
的xml
格式的文件,并且可以由任何xml parser
进行解析.由于xml
可以在多种环境中使用,因此plist
可以做相同的事情.只需将其后缀更改为xml
,您就可以做任何您想做的事.
You are right. Plist is actually an xml
formatted file with a plist header
and can be parsed by any xml parser
. Since xml
can be used in variety of environments, plist
can do the same thing. Just change its suffix to xml
and you can do whatever you want.
这篇关于在其他环境中使用Plists的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!