Restore

The restore process will require four new methods in DropboxTVC. Due to the destructive nature of a restore, the process will require the user to tap several buttons in order to initiate a restore. First, the user will need to select a file to restore. Second, the user will need to tap an options button and then tap restore. Finally, the user will need to confirm the restore action. This is a safeguard against an accidental restore. The new DropboxTVC methods are as follows:

image restore will be used to set the selected ZIP filename and show the restore confirmation alert view. If a file is still downloading, isn’t cached locally, or has a ...

Get Learning Core Data for iOS: A Hands-On Guide to Building Core Data Applications 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.