I have stored some values in NSUserDefaults and now I need to check, using NSFileManager, whether a certain value exists in the defaults. If the value exsists then I need to skip some parsing, and display information in a tableview. Please help me figure out how to do this check.
Asked
Active
Viewed 321 times
2 Answers
0
You can use something like
[[NSUserDefaults standardUserDefaults] objectForKey:...]
to retrieve the value.

hennes
- 9,147
- 4
- 43
- 63
-
i know that but how to do that with nsfile manager, means should check that file exsist in nslibrarydirectory. – Mar 18 '11 at 11:13
-
Maybe Niels Castle's response from [this question](http://stackoverflow.com/questions/1676938/easy-way-to-see-saved-nsuserdefaults) helps. – hennes Mar 18 '11 at 11:22