B. Finalizing the Groceries Application

This appendix details the steps required to finalize the Groceries sample application so it matches the version on the App Store. The finalization of Groceries isn’t related to Core Data, so the instructions to build it are tucked away in this appendix.

New Features

Currently users have limited options in relation to item photos. They cannot delete an existing photo, nor can they choose a new photo from the photo library. This appendix enhances the camera button on the item edit view so that it displays an action sheet from an alert controller with options to delete, take, or choose a photo.

Another new feature allows you to set items as favorites. All favorite items can be added to the shopping list ...

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