Re: Cocoa Foundation/AppKit update
Re: Cocoa Foundation/AppKit update
- Subject: Re: Cocoa Foundation/AppKit update
- From: Francisco Tolmasky <email@hidden>
- Date: Fri, 15 Aug 2003 23:53:43 -0700
I meant specific to each actual user default,
for example, if I had registered two defaults with these two distinct
keys:
MyTextSizeKey
MyTextColorKey
Then, when you say [[NSUserDefualts standardUserDefaults] setObject:
whatever forKey: MyTextSizeKey];
Then a notification with notificationName, I dunno, maybe
MyTextColorKey or maybe something different but still related only to
that key, would be posted.
On Friday, August 15, 2003, at 11:49 PM, Vince DeMarco wrote:
On Friday, August 15, 2003, at 11:39 PM, Francisco Tolmasky wrote:
I'm thinking about implementing a subclass of NSUserDefaults to
automatically post a notification every time a user default is
changed. But I just saw the Cocoa Update ADC tv thing, and I believe
I may have heard this to be a feature to be added. Can anyone
confirm this? I don't really want to implement it if it's going to
be given to me in Panther.
Its already there
look this up
FOUNDATION_EXPORT NSString * const NSUserDefaultsDidChangeNotification;
Francisco Tolmasky
email@hidden
http://users.adelphia.net/~ftolmasky
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.