iPhone SDK: NSUserDefaults or NSDictionary?

Posted by Ricibald on Stack Overflow See other posts from Stack Overflow or by Ricibald
Published on 2010-03-23T11:18:54Z Indexed on 2010/03/23 11:23 UTC
Read the original article Hit count: 644

Compare the following:

  • using NSUserDefaults saving it with synchronize
  • using NSDictionary saving it with writeToFile in the app Documents folder

What are the differences? Personally, I prefer to mantain different NSDictionary organized by topic rather than use a single NSUserDefaults.

Am I thinking something wrong? Thanks

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about nsuserdefaults