I've produced window based application. Tab bar controller as root controller and contains three tabs. One Tab has Labels and TextFiled inputs like Title, Account information.

I'm searching to keep this text filed inputs when user makes its way into and able retrieve in other tabs.

Formerly I've set key for various text fields and setobject:withkey task capable to retrive text filed values in same view Controller [[NSUserDefaults standardUserDefaults] stringForKey:key] task. Now i'm searching to produce database that has different objects and every objects has data values of various Text Area inputs will be able to access entirely application. like DatabaseName -> Object1 -> Title, Username &lifier Password -> Object2 -> Title, Username &lifier Password Something similar to structure in Normal C so it might be simple to retrieve data.

I'm searching NSUserDefaults Class and User Defaults Programming Subjects in Cacao(http://developer.apple.com/apple iphone/library/documentation/Cacao/Conceptual/UserDefaults/UserDefaults.html#//apple_ref/doc/uid/10000059-BCIDJFHD).

Also Mentioning Archives and Serialization Programming guide(http://developer.apple.com/apple iphone/library/documentation/Cacao/Conceptual/Archiving/Archiving.html#//apple_ref/doc/uid/10000047i). Which method i have to use to produce this particular database ?


If you are just saving a little variety of a restricted size, then using NSUserDefaults like this is most likely ok.

Whether it's a classic "database" that could contain a lot of objects and/or change frequently, many people would most likely recommend that you employ Core Data rather.