1
00:00:07,110 --> 00:00:08,290
Pay everybody what's going on.

2
00:00:08,290 --> 00:00:10,420
This is Caleb with Deb's Lopes dot com.

3
00:00:10,420 --> 00:00:14,890
And in this video we're going to start by creating an X code project.

4
00:00:14,890 --> 00:00:21,160
I did mentioned in the intro that we I did mention in the last video that we were going to create some

5
00:00:21,160 --> 00:00:27,190
playgrounds but I think that just creating an X code project will actually be the best way to demonstrate

6
00:00:27,460 --> 00:00:28,300
these concepts.

7
00:00:28,330 --> 00:00:33,010
So go ahead and go into your Applications folder and open up X code.

8
00:00:33,010 --> 00:00:36,790
And when you do you'll be presented with this screen.

9
00:00:36,790 --> 00:00:41,230
Now in order to actually create the project we're going to go ahead and click on this button here.

10
00:00:41,230 --> 00:00:44,150
Create a new X code project.

11
00:00:44,170 --> 00:00:50,470
Now if you're watching this intro to NBC course my assumption is that you have not yet built apps using

12
00:00:50,500 --> 00:00:56,080
X code because MVC is one of the most fundamental foundational principles you need to understand if

13
00:00:56,080 --> 00:00:58,780
you do already know how to create an X called Project.

14
00:00:58,780 --> 00:01:00,680
I apologize but just bear with me here.

15
00:01:00,760 --> 00:01:02,860
We'll get onto the MVC stuff very soon.

16
00:01:02,860 --> 00:01:08,170
So go ahead and click Create new X code project and we're going to just go ahead and select a single

17
00:01:08,170 --> 00:01:09,390
view application.

18
00:01:09,400 --> 00:01:15,840
There are lots of other options we can select but this app is just going to be a single view application.

19
00:01:15,840 --> 00:01:19,500
So go ahead and click on that and we're going to give it a name.

20
00:01:19,510 --> 00:01:19,860
OK.

21
00:01:19,900 --> 00:01:25,730
So I'm just going to name this MVC if me Cap'n.

22
00:01:25,750 --> 00:01:26,330
There we go.

23
00:01:26,350 --> 00:01:27,310
Put a little dash there.

24
00:01:27,330 --> 00:01:28,770
MVC fae me Captain.

25
00:01:28,800 --> 00:01:30,380
Haha nice.

26
00:01:30,400 --> 00:01:32,050
OK so you have your team here.

27
00:01:32,050 --> 00:01:35,300
It's likely going to be your name and personal team.

28
00:01:35,350 --> 00:01:37,640
I'm using the dev slopes team here.

29
00:01:37,690 --> 00:01:41,720
You're going to add your organization name your organization identifier.

30
00:01:41,740 --> 00:01:42,940
Choose Swift.

31
00:01:42,940 --> 00:01:44,490
It'll already be selected for you.

32
00:01:44,490 --> 00:01:48,180
Believe it or not and we can leave these boxes on text.

33
00:01:48,280 --> 00:01:49,670
Go ahead and click next.

34
00:01:49,690 --> 00:01:50,650
Just like that.

35
00:01:51,040 --> 00:01:56,150
And we're going to go ahead and just save this somewhere on your computer and click Create.

36
00:01:56,170 --> 00:02:00,000
Now I'm going to go ahead and pull this open full size and.

37
00:02:00,030 --> 00:02:00,400
Yeah.

38
00:02:00,400 --> 00:02:06,490
So welcome to your first potentially your first X code project on the left here we have the project

39
00:02:06,490 --> 00:02:13,660
navigator and this shows all of the files all of the assets and resources inside our project the folder

40
00:02:13,660 --> 00:02:17,800
that we really care about is the one with the same name as our project.

41
00:02:17,800 --> 00:02:23,920
The yellow folder here this contains files like the app delegate our view controller which we'll talk

42
00:02:23,920 --> 00:02:30,490
about in a moment as well as our storyboard our assets folder which this is where images and graphics

43
00:02:30,490 --> 00:02:36,550
are going to be dropped in our launch screen which shows when the app opens and info up the list which

44
00:02:36,550 --> 00:02:38,970
just contains some important information.

45
00:02:38,980 --> 00:02:44,470
Now the view controller is already in here and you're probably wondering wait we didn't create that.

46
00:02:44,680 --> 00:02:46,290
And we'll talk about that in the next video.

47
00:02:46,300 --> 00:02:49,180
But for now take a look around your project.

48
00:02:49,180 --> 00:02:50,200
Feel free to poke around.

49
00:02:50,200 --> 00:02:53,800
Don't change anything but just go ahead and look through these files.

50
00:02:53,800 --> 00:03:01,630
The app delegate The View Controller Scott swift file not storyboard look around and see see what you

51
00:03:01,630 --> 00:03:03,360
can figure out on your own.

52
00:03:03,520 --> 00:03:09,340
And in the next video we're going to go ahead and start diving into organizing our project to fall in

53
00:03:09,340 --> 00:03:15,220
line with a model view controller design pattern so you have just successfully created your X code project

54
00:03:15,490 --> 00:03:20,190
in the next video we're going to go ahead and set it up so that we can use it with MVC.

55
00:03:20,190 --> 00:03:21,430
I'll see you there.
