• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa Foundation/AppKit update
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Cocoa Foundation/AppKit update (From: Vince DeMarco <email@hidden>)

  • Prev by Date: Re: Cocoa Foundation/AppKit update
  • Next by Date: Click in NSTableView of a non active window
  • Previous by thread: Re: Cocoa Foundation/AppKit update
  • Next by thread: Click in NSTableView of a non active window
  • Index(es):
    • Date
    • Thread