1
00:00:07,880 --> 00:00:12,750
It guys this is Caleb with Dev slopes and in this video we're going to create our X code project and

2
00:00:12,750 --> 00:00:18,010
we're going to set up some folders so that we can dive right in to building this app with core m-L.

3
00:00:18,060 --> 00:00:25,410
So with X code open go ahead and go to file new project just like you would expect.

4
00:00:25,490 --> 00:00:31,440
Let's make that full screen and I'm going to click on single view application I'm going to call this

5
00:00:31,530 --> 00:00:34,340
vision app dev.

6
00:00:34,740 --> 00:00:41,670
And you notice I have my team here is just my personal team my organizations just my name identifier

7
00:00:41,670 --> 00:00:44,520
is my little identifier here.

8
00:00:44,700 --> 00:00:49,520
Dot com it's kind of reverse domain format languages Swift.

9
00:00:49,530 --> 00:00:53,160
And we're not going to include Chordata or any type of tests.

10
00:00:53,280 --> 00:00:55,560
Once that's done go ahead and click next.

11
00:00:55,560 --> 00:01:00,030
And then you can go ahead and save it wherever you'd like I'm going to save it in a folder I've already

12
00:01:00,030 --> 00:01:01,200
created.

13
00:01:01,200 --> 00:01:05,520
Click Create and now we've got ourselves a project.

14
00:01:05,520 --> 00:01:07,970
Now before I forget I always forget to do this.

15
00:01:07,980 --> 00:01:11,400
I'm going to unstick landscape left and landscape right.

16
00:01:11,400 --> 00:01:13,680
I don't want this app to be able to be rotated.

17
00:01:13,710 --> 00:01:18,930
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,960 --> 00:01:19,870
Awesome.

19
00:01:20,050 --> 00:01:22,110
And yeah let's go ahead and get started.

20
00:01:22,110 --> 00:01:26,370
We have our project here we have our view controller or app delegate.

21
00:01:26,370 --> 00:01:32,400
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,400 --> 00:01:33,330
organized.

23
00:01:33,360 --> 00:01:40,400
Go ahead and right click on that project folder and click new group and I'm going to call this controller.

24
00:01:40,620 --> 00:01:42,920
That's where our view controller is going to go.

25
00:01:43,420 --> 00:01:48,830
And right click one more time and create another new group and call this view.

26
00:01:48,960 --> 00:01:53,480
This is where our custom view subclasses will go when we start building out our user interface.

27
00:01:53,490 --> 00:01:54,480
Nothing's going to go in there.

28
00:01:54,480 --> 00:01:56,900
In this video but just wait till the next one.

29
00:01:57,040 --> 00:02:02,510
And we're also going to right click and I'm going to create a folder called resources.

30
00:02:02,610 --> 00:02:07,350
OK that's where our M-L model is going to go when we drag it in later on.

31
00:02:07,480 --> 00:02:12,250
Now you know what I don't like that this is just blandly called View Controller.

32
00:02:12,510 --> 00:02:17,570
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,580 --> 00:02:19,900
so I'm actually going to call this camera.

34
00:02:20,550 --> 00:02:22,430
Camera visi.

35
00:02:22,560 --> 00:02:23,320
All right.

36
00:02:23,670 --> 00:02:30,510
We can rename it here as well so that the file knows which you troll or we're talking about but we're

37
00:02:30,510 --> 00:02:31,360
not done.

38
00:02:31,380 --> 00:02:34,130
We need to go into main storyboard.

39
00:02:34,140 --> 00:02:39,630
We need to click on this view controller go to the identity inspector and we need to change the class

40
00:02:39,840 --> 00:02:45,720
here to be camera Visi Otherwise we'd get nasty crashes and we don't want that right.

41
00:02:45,730 --> 00:02:47,670
I know I don't anyway.

42
00:02:47,960 --> 00:02:48,510
OK.

43
00:02:48,720 --> 00:02:55,350
So we have created a project we've created the proper folders for the different types of code files

44
00:02:55,350 --> 00:02:56,300
we'll be using.

45
00:02:56,430 --> 00:03:02,670
And we've even renamed our view controller and renamed properly in the main storyboard.

46
00:03:02,670 --> 00:03:07,860
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,860 --> 00:03:12,700
to dive right into building out the user interface so I'll see in the next video.

48
00:03:12,750 --> 00:03:14,180
Nicely done with this one.

49
00:03:14,250 --> 00:03:15,310
We'll see over there.

