3 ms·
What’s the iOS programming model in this regard?
by WalterGR 5y ago
What’s the iOS programming model in this regard?
- thatjoeoverthr 5y agoSomething like “crash-only software”; programs are expected to be killed and relaunched. Software should cope with it, as there is no swap space and ideally the user shouldn’t be managing memory. An app may create to some degree the appearance of persistence but it’s not persistence. Users, also, can easily force kill apps. Ongoing background operations like downloads, uploads and some media playback is delegated to the operating system. Such operations continue when your process is killed, and you check up on them when your process starts. I hope it’s not TMI, but the standard library includes atomic file saves.
- WalterGR 5y agoThank you!