• 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: How do I call a function when my preference pane bundle closes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I call a function when my preference pane bundle closes?


  • Subject: Re: How do I call a function when my preference pane bundle closes?
  • From: Jamie Hardt <email@hidden>
  • Date: Wed, 29 Oct 2008 10:30:08 -0700

On Oct 29, 2008, at 9:47 AM, Adam Penny wrote:

Thank you Jamie and Jason. Jamie's email has just panicked me as I've been using CFPreferences rather than NSUserDefaults. It's a system preference pane and I understood that CFPreferences was the way to do this. The documents for CFPreferences kept on saying not to synchronize regularly, so I thought that when synching when the window closed would be a good option.

That said, if I'm on the wrong track I can always change my strategy if there's a better way I missed?

If you're doing a Cocoa application, NSUserDefaults and its friends are definitely the simpler way to go, but they both work.



Jamie Hardt The Sound Department http://www.soundepartment.com/ http://www.imdb.com/name/nm0362504/

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How do I call a function when my preference pane bundle closes? (From: Adam Penny <email@hidden>)
 >Re: How do I call a function when my preference pane bundle closes? (From: Jason Coco <email@hidden>)
 >Re: How do I call a function when my preference pane bundle closes? (From: Adam Penny <email@hidden>)

  • Prev by Date: Is there an equivalent to std::min/std::max for Cocoa programmer's
  • Next by Date: Re: file references in CoreData
  • Previous by thread: Re: How do I call a function when my preference pane bundle closes?
  • Next by thread: Re: How do I call a function when my preference pane bundle closes?
  • Index(es):
    • Date
    • Thread