Hey everybody welcome to the core data section of the Iowas 11 COURSE I'M SO EXCITED TO TEACH YOU.
Chordata it's really really cool.
It's going to allow you to basically have persistent storage in your app for all kinds of data.
We're only going to be working with a few different kinds of data but I just want to show you the app
I want to show you a demo of what you're going to build.
It's called goal post and it's really cool let me show you here.
We're going to go ahead and open up a goalpost.
And as you can see it says welcome to goal post to begin create a goal.
So we're going to click the Create Go button and now we're going to go ahead and type a goal here.
I'm going to show you what happens when I toggle the keyboard and notice the button pops up it's pretty
sweet.
So let's go ahead and let's set a goal complete one coding challenge daily and let's do this as a long
term goal OK click set.
And how many points until complete.
Let's say that we want to do this for three days.
It's not really long term but it could be 30.
But let's just set three for now and then click Create goal as you do that you'll see that it pops up
in our table view here which is really cool.
Now here's the coolest part.
I'm going to go ahead and double tap the home button and I'm going to quit out of goalpost and watch
what happens when I go back in.
There's the magical Chordata stuff.
It's persistent meaning it stays.
Now what you can do is as you make progress towards your goal let's say that I completed my challenge
for the day you can swipe to the left and tap at and you'll see the number goes up on the cell.
I can keep doing this keep adding until I hit my third day which was our goal three right and you'll
see it changes to complete.
At this point I can add another goal if I want to like eat salad for lunch every week.
How about that short term goal and let's just do it for two weeks just to go on a little bit of a health
kick here.
Press create goal and you'll notice we have a new goal.
So let's go ahead and let's add that we're going to keep going until it's complete and when we're done
if we want to get rid of it we can either press delete or we can swipe all the way over and it deletes
automatically This is goalpost.
It's an amazing Chordata app that we're going to build in the next couple videos so let's head over
to the next one.
Let's begin.