• 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: Instantly setting preferences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Instantly setting preferences


  • Subject: Re: Instantly setting preferences
  • From: Jeffrey Mattox <email@hidden>
  • Date: Sat, 1 Mar 2003 23:26:23 -0600

Perhaps you're simply asking about getting your preferences to disk. If you want to force all changes to your plist file, try this:

[userDefaults 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.

References: 
 >Instantly setting preferences (From: Jesus De Meyer <email@hidden>)

  • Prev by Date: Re: InterfaceBuilder and .mm files
  • Next by Date: Re: Instantly setting preferences
  • Previous by thread: Re: discards qualifiers from pointer target type
  • Next by thread: Re: Instantly setting preferences
  • Index(es):
    • Date
    • Thread