简体   繁体   中英

Read/Write specific key inside plist - iPhone

I have a simple question. Let's say I have a pList that contains 1 string and 2 arrays. Each Array has 100 elements. Is there a way to load only 1 of the 2 arrays without loading the entire pList into memory ?

Thanks a lot.

The plist is a XML format text file. So, you can parse the file by XML parser with SAX manner. The sample code XMLPerformance includes a good example about libxml which parses data with SAX manner.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM