I was looking to make a tree structure in sqlite DB.
I have gone through this link Database Structure for Tree Data Structure
Currently My TREE is maintained using NSMutableDictonary and stored in plist. I wanted to store it in DB instead of plist.
Any hint in the direction would be appreciated.
Thanks开发者_高级运维 in advance
You can maintain a table of (parent, child) that will hold the connection between the nodes. The Nodes themselves will have to be in a different table.
精彩评论