Introducing DropboxTVC

To create backups and perform restores, a new user interface is required. In addition, the user needs a way to link and unlink from Dropbox in case he or she needs to switch accounts. To support the new interface, a new tab called Backups will be added. This tab will contain a table view used to display a list of backups. This table view will be driven by a new UITableViewController subclass called DropboxTVC. This class will first be used to demonstrate linking to Dropbox and will then be expanded to provide the backup-and-restore capability.

The starting point header for DropboxTVC is shown in Listing 13.5. It begins with two properties, which will be set as the view loads. The contents property will store an array of ...

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.