开发者

iPhone plist key-to-struct of values

开发者 https://www.devze.com 2022-12-18 09:12 出处:网络
I am new to plists. They seem very powerful for static data but I\'m not sure how to accomplish the following.

I am new to plists. They seem very powerful for static data but I'm not sure how to accomplish the following.

I have a table of data (a spreadsheet currently) where the first column is a unique id (perfect for the key) and I want that key to map to the a structure w/ the rest of the column's data.

I'm looking at my plist in XCode and I'm not quite sure how to set tha开发者_StackOverflow社区t up. It seems like it wants me to have the key result in only one value.

Also, is there an easy way to get all my spreadsheet data into the plist file?


The value associated with the key should be an array (or dictionary), which can then contain multiple values.

0

精彩评论

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

关注公众号