Our second project! To Do List!
Let’s create a new project.
Make sure to check ‘Use Core Data’.
We will gonna make our own database. We got an .xcdatamodeld. This is our core data.
Delete ViewController.swift and move to trash.
And delete Main.storyboard, too. We will make our new storyboard.
In the bottom, click ‘add entity’.
In the Attribute, we added 3 String. Upper and Lower case is very important. Double check your capital letter is right.
And we will going to make a 3 new file.
Choose ‘Swift File’.
And go to Main.storyboard, let’s drag Navigation Controller to your screen.
You can change your size. I’ve made it iPhone 4.7-inch(iPhone 6).
We made some code to Model.swift.
And Go to listTableViewController.swift.
We wrote some code here, also.
Click ‘Prototype Cells’ and type ‘Cell’ to Identifier.
And the style will be ‘Subtitle’.
Next class, we will fill out our code.
My Dropbox Link :