Re: Instantly setting preferences
Re: Instantly setting preferences
- Subject: Re: Instantly setting preferences
- From: Jeffrey Mattox <email@hidden>
- Date: Sat, 1 Mar 2003 23:31:17 -0600
[Sorry, pressed Send too soon on my previous message....]
Perhaps you're simply asking about getting your preferences to disk.
If you want to force all changes to your plist file, try this:
[[NSUserDefaults standardUserDefaults] synchronize];
// flush the values to disk
Jeff
At 6:59 PM +0100 3/1/03, Jesus De Meyer wrote:
I've seen several app where you can set the preferences the instant
you click on a button or select a popup menu. How is this trick
done? I have a preferences dialog with mainly checkboxes so I set
each checkbox to have its own action, however it seems this doesn't
work, it does work for my button.
So how do I do this?
Thanks,
Jesus
_______________________________________________
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.
_______________________________________________
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.