Re: Updating UI Date formats on user NSUserDefault changes
Re: Updating UI Date formats on user NSUserDefault changes
- Subject: Re: Updating UI Date formats on user NSUserDefault changes
- From: "Sean McBride" <email@hidden>
- Date: Tue, 28 Sep 2004 11:26:53 -0400
Danny Frey (email@hidden) on Tue, Sep 28, 2004 09:04 said:
>In my earlier posting I included a breakdown of some of my current
>attempts at getting this working.
So you did. :) Sorry about that, I guess I only read as far as "My
thanks in anticipation, Danny" and didn't realise you kept going after that :)
>Your suggestion was indeed the first
>thing I tried, unfortunately although I do pick up window position/size
>change notifications in my handler for
>NSUserDefaultsDidChangeNotification, (proves it's working) the method
>does not seem to get called when the Dates Format is changed in
>Preferences. It would be nice to get confirmation on this in case it's
>something spooky with my system.
Well, as it happens, after replying to your post, I added this
functionality to the app I'm working on, and can confirm exactly what you
are saying! :(
Since we are both seeing this, perhaps the notification is simply not
posted. ;(
I thought maybe I figured it out when I read this: "An
NSNotificationCenter object can only deliver notifications within a
single task. If you want to post a notification to other tasks or receive
notifications from other tasks, use NSDistributedNotificationCenter"
But I tried with NSDistributedNotificationCenter, and I still don't get
any notifications...
Maybe there is a carbon event we can use... off to look :)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden