开发者

how to access specific value from plist?

开发者 https://www.devze.com 2023-02-26 00:35 出处:网络
how to access specific value from plist, root |_Client1 |_report1 |_application1 |_application2 _report2

how to access specific value from plist,

root |_Client1 |_report1 |_application1 |_application2

    |_report2
         |_application3
|_Client2开发者_StackOverflow中文版 |_report1

Like if application1,2 have string value, how can i get that value? Please help


Have a look at Apple's Property List Programming Guide. You can read the file with dictionaryWithContentsOfURL: for example and access the items now with objectForKey: and objectAtIndex.

0

精彩评论

暂无评论...
验证码 换一张
取 消