Saving and loading data
Currently, if the user force-quits iTahDoodle, or if the system terminates the application while the user is doing something else, then any changes to the task list are lost and the user will have to enter them all over again when they restart the application. This is not the user experience you want. When users quit the app, they would like their to-do lists to stick around so that they can refer them again later. In this section, you will enable iTahDoodle to save a user’s tasks between runs of the application.
Adding a C helper function
To save the user’s tasks between runs, iTahDoodle will store the tasks to disk as a property list – an XML file. You will need a way to get this file’s location while ...
Get Objective-C Programming: The Big Nerd Ranch Guide 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.