What’s the recommended way to expire a beta Mac OSX app within a certain timeframe (i.e., 14 days) and then ask the user to update (in Cocoa)?
Do I just do date calculations every time the user launches the app? Also, is there a way to enable to updating using the Sparkle framework if the timeframe has expired?
Thanks
If you are looking for a 14 day rolling beta – i.e. beta expires 14 days after the first run of the application, I would recommend using userDefaults, and checking it at launch.
Specifically, calling isBetaExpired from the code below in your applicationDidFinishLaunching: