User preferences
Samuel Hornus <[email protected]>
| Newsgroups | gmane.comp.lib.gnustep.user |
|---|---|
| Organization | ARTIS/GRAVIR |
| Message-ID | <[email protected]> |
Hi ! Being happy with my little GUI, I would like to store/retreive some user preferences. NSUserDefaults seems the way to go, and after reading some (but certainly not the most relevant :-( ) documentation, I followed the advices from this web page: http://developer.apple.com/documentation/Cocoa/Conceptual/UserDefaults/Tasks/UsingDefaults.html#//apple_ref/doc/uid/20000719 Needless to say, it does not work. I kinda feel that I may need to supply some "default domain name" to the NSUserDefaults, but I can't see where/what/when/why/... Do you have some clues about saving some prefs and retrieving them ? What need be added to the code examplified in the webpage above ? Thank you in advance ! -- Samuel Hornus