How to do it...

  1. Create a new Xcode project with the Single View Application template and with the name TodoApp.
  2. Ensure that the checkbox Use Core Data is checked so that Xcode can help you by generating boilerplate code in AppDelegate.swift:
  1. Once you create the project, check the left-hand side panel and click on TodoApp.xcdatamodeld, which will open an awesome data models editor, as follows:
  1. Let's add our first entity. Click on the Add Entity button at the bottom-left corner of the editor screen. Then, double-click on the entity to rename ...

Get iOS Programming Cookbook 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.