1
00:00:07,970 --> 00:00:13,460
Hey everybody welcome to the core data section of the Iowas 11 COURSE I'M SO EXCITED TO TEACH YOU.

2
00:00:13,470 --> 00:00:15,710
Chordata it's really really cool.

3
00:00:15,800 --> 00:00:21,280
It's going to allow you to basically have persistent storage in your app for all kinds of data.

4
00:00:21,290 --> 00:00:25,250
We're only going to be working with a few different kinds of data but I just want to show you the app

5
00:00:25,280 --> 00:00:27,690
I want to show you a demo of what you're going to build.

6
00:00:27,710 --> 00:00:30,920
It's called goal post and it's really cool let me show you here.

7
00:00:30,920 --> 00:00:32,710
We're going to go ahead and open up a goalpost.

8
00:00:32,720 --> 00:00:36,510
And as you can see it says welcome to goal post to begin create a goal.

9
00:00:36,530 --> 00:00:42,470
So we're going to click the Create Go button and now we're going to go ahead and type a goal here.

10
00:00:42,470 --> 00:00:46,790
I'm going to show you what happens when I toggle the keyboard and notice the button pops up it's pretty

11
00:00:46,790 --> 00:00:47,500
sweet.

12
00:00:47,780 --> 00:00:58,070
So let's go ahead and let's set a goal complete one coding challenge daily and let's do this as a long

13
00:00:58,070 --> 00:01:00,950
term goal OK click set.

14
00:01:00,950 --> 00:01:02,570
And how many points until complete.

15
00:01:02,570 --> 00:01:05,820
Let's say that we want to do this for three days.

16
00:01:05,810 --> 00:01:08,590
It's not really long term but it could be 30.

17
00:01:08,600 --> 00:01:14,630
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,690 --> 00:01:17,320
in our table view here which is really cool.

19
00:01:17,330 --> 00:01:18,570
Now here's the coolest part.

20
00:01:18,620 --> 00:01:25,220
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,220 --> 00:01:27,840
what happens when I go back in.

22
00:01:27,950 --> 00:01:29,600
There's the magical Chordata stuff.

23
00:01:29,600 --> 00:01:31,830
It's persistent meaning it stays.

24
00:01:31,850 --> 00:01:36,380
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,470 --> 00:01:42,020
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,110 --> 00:01:48,530
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,530 --> 00:01:50,730
see it changes to complete.

28
00:01:51,050 --> 00:01:57,830
At this point I can add another goal if I want to like eat salad for lunch every week.

29
00:01:57,830 --> 00:02:03,200
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

30
00:02:03,200 --> 00:02:04,000
kick here.

31
00:02:04,220 --> 00:02:07,030
Press create goal and you'll notice we have a new goal.

32
00:02:07,430 --> 00:02:12,410
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

33
00:02:12,440 --> 00:02:17,090
if we want to get rid of it we can either press delete or we can swipe all the way over and it deletes

34
00:02:17,090 --> 00:02:19,010
automatically This is goalpost.

35
00:02:19,010 --> 00:02:24,290
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,290 --> 00:02:25,050
to the next one.

37
00:02:25,100 --> 00:02:25,730
Let's begin.

