Lets take a brief idea about how to use core data with swift language.
Create a new project by check on Use Core Data.
It will create the basic methods of core data in to the AppDelegate.swift
There is core data model called {YOUR-PROJECT.xcdatamodeld} will be there with the project.
It will be look like as follows :