问题
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:
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.
来源:https://stackoverflow.com/questions/7003748/how-should-i-structure-my-plist-array-and-dictionary