plist的用途是什么? [英] What is the use of plist?

查看:121
本文介绍了plist的用途是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,我正在使用plist.请问有人可以通过示例或示例代码解释plist的用途吗?

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?

推荐答案

在iPhone开发中,

In the context of iPhone development, Property Lists are a key-value store that your application can use to save and retrieve persistent data.

默认情况下,所有iPhone应用程序至少都具有以下其中一个,即

All iPhone applications have at least one of these by default, the Information Property List:

信息属性列表是一个 包含的名为Info.plist的文件 与每个iPhone应用程序项目 由Xcode创建.这是一个财产 其键值对指定的列表 基本的运行时配置 该应用程序的信息.这 信息属性的元素 列表按层次结构组织 每个节点是一个实体,例如 数组,字典,字符串或其他 标量类型.

The information property list is a file named Info.plist that is included with every iPhone application project created by Xcode. It is a property list whose key-value pairs specify essential runtime-configuration information for the application. The elements of the information property list are organized in a hierarchy in which each node is an entity such as an array, dictionary, string, or other scalar type.

这篇关于plist的用途是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆