1
00:00:07,830 --> 00:00:08,190
It guys.

2
00:00:08,190 --> 00:00:12,900
This is Caleb with Def slopes and in this video we're going to create our X code project and we're going

3
00:00:12,900 --> 00:00:18,000
to set up some folders so that we can dive right in to building this app with core m-L.

4
00:00:18,000 --> 00:00:26,130
So with X code open go ahead and go to file new project just like you would expect to make that full

5
00:00:26,130 --> 00:00:26,970
screen.

6
00:00:27,180 --> 00:00:34,260
And I'm going to click on single view application I'm going to call this vision app dev.

7
00:00:34,680 --> 00:00:41,610
And you notice I have my team here just my personal team my organization is just my name identifier

8
00:00:41,610 --> 00:00:44,490
is my little identifier here.

9
00:00:44,640 --> 00:00:49,460
Dot com it's kind of reverse domain format languages Swift.

10
00:00:49,470 --> 00:00:53,100
And we're not going to include core data or any type of tests.

11
00:00:53,220 --> 00:00:57,990
Once that's done good and click next and then you can go ahead and save it wherever you'd like to save

12
00:00:57,990 --> 00:00:59,480
it in a folder.

13
00:00:59,490 --> 00:01:07,140
I've already created click Create and now we've got ourselves a project now before I forget I always

14
00:01:07,140 --> 00:01:07,910
forget to do this.

15
00:01:07,920 --> 00:01:11,350
I'm going to unstick landscape left and landscape right.

16
00:01:11,370 --> 00:01:13,620
I don't want this app to be able to be rotated.

17
00:01:13,650 --> 00:01:18,890
It could be but I just don't think it looks very good so I'm going to ticket now before I forget.

18
00:01:18,900 --> 00:01:19,820
Awesome.

19
00:01:20,010 --> 00:01:22,050
And yeah let's go ahead and get started.

20
00:01:22,050 --> 00:01:26,340
We have our project here we have our view controller app delegate.

21
00:01:26,340 --> 00:01:32,340
Our main storyboard and you know what I'm going to go ahead and just set up this so that it's nice and

22
00:01:32,340 --> 00:01:33,300
organized.

23
00:01:33,300 --> 00:01:40,590
Go ahead and right click on the project folder and click new group and I'm going to call this controller.

24
00:01:40,590 --> 00:01:42,880
That's where our view controller is going to go.

25
00:01:43,360 --> 00:01:48,700
And right click one more time and create another new group and call this view.

26
00:01:48,930 --> 00:01:53,420
This is where our custom view subclasses will go when we start building out our user interface.

27
00:01:53,460 --> 00:01:54,450
Nothing's going to go in there.

28
00:01:54,450 --> 00:01:56,660
In this video but just wait till the next one.

29
00:01:56,970 --> 00:02:02,460
And we're also going to right click and I'm going to create a folder called resources.

30
00:02:02,580 --> 00:02:07,490
OK that's where our M-L model is going to go when we drag it in later on.

31
00:02:07,590 --> 00:02:12,200
Now you know what I don't like that this is just blandly called View Controller.

32
00:02:12,450 --> 00:02:17,510
If we think about the app that we're going to build it has a nice camera view on the View Controller

33
00:02:17,520 --> 00:02:22,440
so I'm actually going to call this camera whip's camera visi.

34
00:02:22,500 --> 00:02:23,270
All right.

35
00:02:23,610 --> 00:02:30,360
We can rename it here as well so that the file knows which you can troll or we're talking about but

36
00:02:30,360 --> 00:02:31,320
we're not done.

37
00:02:31,320 --> 00:02:34,010
We need to go into main storyboard.

38
00:02:34,110 --> 00:02:39,600
We need to click on this view controller go to the identity inspector and we need to change the class

39
00:02:39,780 --> 00:02:41,720
here to be camera visi.

40
00:02:41,730 --> 00:02:45,650
Otherwise we'd get nasty crashes and we don't want that right.

41
00:02:45,660 --> 00:02:47,780
I know I don't anyway.

42
00:02:47,890 --> 00:02:48,440
OK.

43
00:02:48,660 --> 00:02:55,290
So we have created a project we've created the proper folders for the different types of code files

44
00:02:55,290 --> 00:02:56,240
we'll be using.

45
00:02:56,370 --> 00:03:02,550
And we've even renamed our view controller and renamed it properly in the main storyboard.

46
00:03:02,610 --> 00:03:07,800
So for this video we just needed to set up the project were already done in the next video we're going

47
00:03:07,800 --> 00:03:12,650
to dive right into building out the user interface so I'll see in the next video.

48
00:03:12,690 --> 00:03:14,130
Nicely done with this one.

49
00:03:14,190 --> 00:03:15,230
We'll see over there.
