Before we set up the Core Data stack, we need to create the project for Notes. Open Xcode and create a new project based on the Single View App template.

Name the project Notes, set Language to Swift, and, if you're using Xcode 8, set Devices to iPhone. Make sure Use Core Data is unchecked. We start the project from scratch.

Choose where you want to store the project and click Create.

Before we start writing code, I want to do some housekeeping by modifying the structure of the project. The first thing I do when I start a new project is create groups for the files and folders of the project. These are the groups I create in the Project Navigator:
- Application Delegate
- View Controllers
- Root View Controller
- Storyboards
- Resources
- Supporting Files
This is what the result looks like in the Project Navigator. That looks a lot better. Doesn't it?

For this project, I've set the Deployment Target of the project to 10.0. In the next episode, we set up the Core Data stack of the project.