1
00:00:07,930 --> 00:00:11,700
Hey everybody welcome to the core data section of the Iowa S11 course.

2
00:00:11,710 --> 00:00:13,900
I'm so excited to teach you Chordata.

3
00:00:13,890 --> 00:00:15,670
It's really really cool.

4
00:00:15,730 --> 00:00:21,230
It's going to allow you to basically have persistent storage in your app for all kinds of data.

5
00:00:21,250 --> 00:00:25,180
We're only going to be working with a few different kinds of data but I just want to show you the app

6
00:00:25,210 --> 00:00:27,620
I want to show you a demo of what you're going to build.

7
00:00:27,640 --> 00:00:30,640
It's called goal post and it's really cool let me show you here.

8
00:00:30,850 --> 00:00:32,640
We're going to go ahead and open up goalpost.

9
00:00:32,650 --> 00:00:36,480
And as you can see it says welcome to goal to begin create a goal.

10
00:00:36,490 --> 00:00:42,420
So we're going to click the Create Go button and now we're going to go ahead and type a goal here.

11
00:00:42,430 --> 00:00:44,860
I'm going to show you what happens when I toggle the keyboard.

12
00:00:44,920 --> 00:00:47,680
You notice the button pops up it's pretty sweet.

13
00:00:47,710 --> 00:00:58,000
So let's go ahead and let's set a goal complete one coding challenge daily and let's do this as a long

14
00:00:58,000 --> 00:01:00,700
term goal a click set.

15
00:01:00,880 --> 00:01:02,490
And how many points until complete.

16
00:01:02,500 --> 00:01:08,520
Let's say that we want to do this for three days so it's not really long term but it could be 30.

17
00:01:08,530 --> 00:01:14,560
But let's just set three for now and then click Create goal as you do that you'll see that it pops up

18
00:01:14,650 --> 00:01:17,260
in our table view here which is really cool.

19
00:01:17,260 --> 00:01:18,550
Now here's the coolest part.

20
00:01:18,550 --> 00:01:25,140
I'm going to go ahead and double tap the home button and I'm going to quit out of goalpost and watch

21
00:01:25,140 --> 00:01:27,180
what happens when I go back in.

22
00:01:27,850 --> 00:01:29,550
There's the magical Chordata stuff.

23
00:01:29,550 --> 00:01:31,750
It's persistent meaning it stays.

24
00:01:31,770 --> 00:01:36,330
Now what you can do is as you make progress towards your goal let's say that I completed my challenge

25
00:01:36,390 --> 00:01:41,990
for the day you can swipe to the left and tap at and you'll see the number goes up on the cell.

26
00:01:42,060 --> 00:01:48,480
I can keep doing this keep adding until I hit my third day which was our goal three right and you'll

27
00:01:48,480 --> 00:01:50,970
see it changes to complete.

28
00:01:51,000 --> 00:01:57,780
At this point I can add another goal if I want to like eat salad for lunch every week.

29
00:01:57,780 --> 00:02:03,150
How about that short term goal and let's just do it for two weeks just to go in a little bit of a health

30
00:02:03,150 --> 00:02:07,050
kick here press create goal and you'll notice we have a new goal.

31
00:02:07,380 --> 00:02:12,360
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

32
00:02:12,360 --> 00:02:17,010
if we want to get rid of it we can either press delete or we can swipe all the way over and it deletes

33
00:02:17,010 --> 00:02:18,030
automatically.

34
00:02:18,030 --> 00:02:18,930
This is goalpost.

35
00:02:18,930 --> 00:02:24,240
It's an amazing Chordata app that we're going to build in the next couple videos so let's head over

36
00:02:24,240 --> 00:02:25,680
to the next one and let's begin.
