[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
User preferences
From: |
Samuel Hornus |
Subject: |
User preferences |
Date: |
Thu, 16 Dec 2004 00:50:38 +0100 |
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
- User preferences,
Samuel Hornus <=