- Create a new Xcode project with the Single View Application template and with the name TodoApp.
- Ensure that the checkbox Use Core Data is checked so that Xcode can help you by generating boilerplate code in AppDelegate.swift:
- 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:
- 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 ...