We're sunsetting PodQuest on 2025-07-28. Thank you for your support!
Export Podcast Subscriptions
cover of episode 301. The iOS Apprentice 2- Checklists 06 - Saving and Loading-2

301. The iOS Apprentice 2- Checklists 06 - Saving and Loading-2

2016/1/2
logo of podcast iOSDevLog

iOSDevLog

Shownotes Transcript

In this section you will: 这一期我们将要Determine where in the file system you can place the file that will remember the to-do list items.确定文件在文件系统存放位置将会记得(保存)待办列表事项Save the to-do items to that file whenever the user changes something: adds a new item, toggles a checkmark, deletes an item, et cetera.当用户更改:添加一个新条目,切换选择目录,删除一个条目,等等,则将待办事项保存到该文件Load the to-do items from that file when the app starts up again after it was terminated.当应用终止后再次启动时,从文件中待办事项