Backup & Restore

The BACKUP & RESTORE section introduces three new methods used to orchestrate a backup or restore process. These methods will leverage those recently implemented.

image zipFolderAtURL will be used to create a ZIP file containing the contents of a given URL. If the ZIP file already exists, it will be overwritten. The ZIP compression will be provided by Objective-Zip, which is an Objective-C wrapper for MiniZip. MiniZip enables the creation and extraction of compressed .zip archive files.

image unzipFileAtURL will be used to extract the contents ...

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.