Re: Instantly setting preferences
Re: Instantly setting preferences
- Subject: Re: Instantly setting preferences
- From: Hasan Diwan <email@hidden>
- Date: Sat, 1 Mar 2003 16:41:24 -0800
Assuming your preference window is in a different NIB... use
awakeFromNib in the controller class to set the values in
[NSUserDefaults standardDefaults].
On Saturday, March 1, 2003, at 10:20 AM, 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.
Hasan Diwan
OpenPGP KeyID: 0x7EE3855B
Fingerprint: 42F0 5758 C3EB BA1F ABD2 ED49 3390 CCF0 7EE3 855B
http://www.cs.rpi.edu/~diwanh/gpg.key
[demime 0.98b removed an attachment of type application/pgp-signature which had a name of PGP.sig]
_______________________________________________
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.