How should I structure my .plist array and diction

2019-03-05 08:13发布

I have UITableView that will have several child UITableViews which may also have 1 or 2 childs each.

I want to create a plist to keep track and structure all the cell names and stuff.

Man view -> Child -> Child -> Child -> Detail

What is the best way to structure this? Array or Dictionary?

1条回答
The star\"
2楼-- · 2019-03-05 08:34

You will probably want an array of dictionaries, where each array represents a row and the dictionary contains info about the cell, and potentially the child table views. Consider modeling this off the settings bundle plist format.

查看更多
登录 后发表回答