• 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: Best way to make a little piece of data persistent?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to make a little piece of data persistent?


  • Subject: Re: Best way to make a little piece of data persistent?
  • From: Andreas Mayer <email@hidden>
  • Date: Thu, 29 Sep 2016 01:04:50 +0200

> Am 29.09.2016 um 00:45 schrieb Gabriel Zachmann <email@hidden>:
>
> I need to make a few small pieces of data (an integer, a string, ...)
> persistent across different invocations of my screen saver.
>
> That is, when the screen saver is about to quit, I need to save it,
> when it gets invoked the next time, I need to load it again.
>
> What is the recommended (and easiest?) way to do that?

NSUserDefaults

_______________________________________________

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: 
 >Best way to make a little piece of data persistent? (From: Gabriel Zachmann <email@hidden>)

  • Prev by Date: Problem with CAAnimation in a screensaver
  • Next by Date: Re: Problem with CAAnimation in a screensaver
  • Previous by thread: Best way to make a little piece of data persistent?
  • Next by thread: Best way to make a little piece of data persistent?
  • Index(es):
    • Date
    • Thread