Data Management
Like many (perhaps most) apps, Pragmatic Podcasts is heavily dependent on the network for its functionality. It fetches lists of podcasts, presents them in a UI, and lets us choose one to play. At the moment, we’re really not managing any of the user’s own data. But we certainly could. Let’s say we wanted to remember all the podcast feeds our user adds with the plus button. We’d need to save those feed URLs somewhere. And with just that feature, we’d be in the data management business.
Persistence APIs
This gets us into the realm of data persistence: how to save the user’s data from one session of the app to the next. This might not be as obvious a concern as it is on a computer, since iOS doesn’t put the filesystem front and ...
Get iOS 10 SDK Development, 1st Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.