> Am 29.09.2016 um 00:45 schrieb Gabriel Zachmann <z...@tu-clausthal.de>:
> 
> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to