1
00:00:06,410 --> 00:00:07,990
Hey what's up guys.

2
00:00:08,010 --> 00:00:14,160
I'm Jacob little with Def slopes dot com and I'd like to welcome you to our intro to relm course.

3
00:00:14,310 --> 00:00:21,180
Before I explain any further you're probably wondering or you might be wondering what realm is realm

4
00:00:21,230 --> 00:00:24,160
is is basically a database.

5
00:00:24,360 --> 00:00:30,520
It allows us to have persistent data on our iOS apps or Android apps.

6
00:00:30,590 --> 00:00:35,660
It was actually created for a mobile platform so it's super lightweight and it's fast.

7
00:00:35,880 --> 00:00:42,130
And the greatest thing about it is it's really easy to store data to it and to fetch data.

8
00:00:42,210 --> 00:00:48,720
And probably one of the coolest things with it is the capabilities of filtering your data and also sorting

9
00:00:48,720 --> 00:00:59,080
it without having to create really involved in you know hard algorithms difficult algorithms just to

10
00:00:59,080 --> 00:01:03,490
do something that you know you'd rather put your time towards making a really cool app and you don't

11
00:01:03,490 --> 00:01:06,400
worry about sorting your data relm does it for you.

12
00:01:06,400 --> 00:01:07,860
It's really nice.

13
00:01:07,870 --> 00:01:16,060
So with that being said it's very comparable to Chordata things we're going to learn in this course.

14
00:01:16,060 --> 00:01:23,990
You're going to learn why you want to use relm hopefully how to fetch and store data to your persistent

15
00:01:23,990 --> 00:01:24,860
store.

16
00:01:25,190 --> 00:01:33,980
And we're going to build a completely functional Nike plus or a Nike run clone that completely relies

17
00:01:33,980 --> 00:01:34,780
on wrong.

18
00:01:35,000 --> 00:01:42,650
So it'll be a local persistent database with your running and logs and all that cool stuff.

19
00:01:42,920 --> 00:01:44,450
When they pull up.

20
00:01:44,690 --> 00:01:47,790
So we're going to be making a running app an

21
00:01:50,520 --> 00:01:56,940
We're going to go through how you create the data models the realm data models and what is different

22
00:01:56,940 --> 00:02:06,040
between like a normal the normal data models you're used to making in swift versus setting up for around.

23
00:02:06,360 --> 00:02:11,540
And also some other cool things we're going to be working on are as you can see some map kits stuffs

24
00:02:11,700 --> 00:02:17,850
some C-L location tracking distance knowing a path you are on.

25
00:02:18,180 --> 00:02:26,000
We're going to do some really cool class extensions for doing so for creating reusable like formatting

26
00:02:26,010 --> 00:02:26,910
functions.

27
00:02:27,150 --> 00:02:28,590
And that's where it's really cool.

28
00:02:28,590 --> 00:02:33,930
So as you can see here we have a cool timer that's displaying the minutes and seconds and it will even

29
00:02:33,930 --> 00:02:40,350
show our if it gets there and then same with pace it's the same thing where we're basically format in

30
00:02:40,770 --> 00:02:44,450
an integer of seconds and we're creating all of these.

31
00:02:44,490 --> 00:02:46,340
So we'll go through things like that.

32
00:02:46,500 --> 00:02:52,700
And we'll also be doing some cool creating this custom slider switch down here.

33
00:02:52,740 --> 00:02:54,370
It all simply pause your run.

34
00:02:54,420 --> 00:02:57,570
And then this also slides to end the run.

35
00:02:57,570 --> 00:02:58,890
So that's pretty cool.

36
00:02:58,890 --> 00:03:02,910
So we'll be going over creating a custom slider switch to end your run.

37
00:03:03,180 --> 00:03:11,970
And then when we get back to the map page after you end a run you see a cool polyline that has an overlay

38
00:03:11,970 --> 00:03:12,540
on the map.

39
00:03:12,540 --> 00:03:13,910
We'll be doing that.

40
00:03:13,980 --> 00:03:16,580
And that's really cool stuff.

41
00:03:17,280 --> 00:03:21,360
And then like the most important stuff would be this log here.

42
00:03:21,630 --> 00:03:23,570
This is all you know this.

43
00:03:23,610 --> 00:03:32,850
So each cell is a a run object created in realm and we're pulling it all from the realm from file system

44
00:03:33,210 --> 00:03:36,790
and it's returning it to us in order.

45
00:03:37,230 --> 00:03:41,610
So the bottom one here was the very first run I ever ran on this app.

46
00:03:41,760 --> 00:03:44,920
And then this the top one would be the one we just did.

47
00:03:45,240 --> 00:03:45,970
And it's really cool.

48
00:03:45,990 --> 00:03:50,010
So we're going to make a full blown running app and this app does work.

49
00:03:50,010 --> 00:03:52,330
I took it for a run a couple of days ago.

50
00:03:52,560 --> 00:03:53,720
So that was really cool.

51
00:03:53,850 --> 00:04:01,110
So I look forward to this course it's going to be awesome We're going to learn a lot and it's just opening

52
00:04:01,110 --> 00:04:08,730
the door to the power of Rome and I hope I hope this excites you guys and you dive more into it.

53
00:04:08,730 --> 00:04:13,370
And we're also going to be having more series that you know get more and more in depth because there's

54
00:04:13,380 --> 00:04:17,110
a lot to Realm and we're just barely scratching the surface in this course.

55
00:04:17,250 --> 00:04:20,580
And I hope you like it though you're going to learn a lot.

56
00:04:20,580 --> 00:04:23,200
It's really cool and I'll see you in the next lesson.
