Hey guys this is Caleb with devah slopes and in this video we're going to create our X code project
so that we can dive right in to building pixel city.
So to do this open X code Bayda and running X code Bayda 9.
No I'm not I'm running X code version 9 Beta 2.
And to create a new project to go ahead and click on Create new X code project going to make that full
screen.
I'm going to click single view application and we're going to name this pixel city.
OK that looks good.
Make sure all of your information here is as it should be.
Your personal team is what you want your organization name and your reverse domain style organization
identifier language of course is swift.
And we're not going to include We're not going to include tests or core data.
So click next.
Let's go ahead and let's save this inside my I always 11 folder.
That sounds good and we're good to go.
So before we begin I don't want to forget this but I'm going to go ahead and I'm going to unstick landscape
left and right.
I'm not going to use it for this app so I'm going to go ahead and ticket from the get go.
Awesome.
So our project is now created.
We have our files here that come with our project like our main storyboard View Controller app delegate
et cetera et cetera.
But we need to create some folders so that we can house files in the proper way.
It's just something I like to do for organization.
So what I'm going to do is I'm going to right click on the yellow pixel city folder click new group
and I'm going to create a folder for all of our control controller files.
This will hold our map Visi And later the view controller that pops up when you use 3D touch.
OK let's do it again.
Right click click new group and this will hold all files related to the view.
So custom view subclasses et cetera et cetera will go in there.
We're going to create a new group and we're going to call this extensions.
Let's spell it right extensions.
And this will hold a special UI view extension that's going to allow us to fade in and fade out certain
elements with ease which will be really cool.
And one more time we're going to create a utility's folder and that's actually going to hold a constant
folder or a constant file that will have things like our API key and the base you are l for the flicker
API when we need it later.
So we're not going to do anything with that for now but we are going to go ahead and move our view controller
into our controller folder and you know what this will be the map view controller so I'm going to rename
this to Matt Visi And you know what I'm even going to change it appear to be.
Matt B.C and what's going to go ahead.
Sorry
oh sorry I didn't say that.
Anyway let's change this to Matt visi.
Sounds good.
And you know what.
In order for this to work we need to change it in the story board as well because this right now is
looking for View Controller Swift which no longer exists.
We killed it.
So let's go ahead and change it.
Click on the View Controller open the identity inspector if it's not already open and change the class
to map B see press enter to save it.
And we're good to go.
Our project has been created.
We have added folders to organize our swift code files and we have renamed Matt visi.
Awesome.
In the next video we're going to add to Cocoa pods which if you don't know what cocoa pods are you should
go look it up do some research.
But basically it's a really easy way to add third party functionality.
We're going to implement two awesome frameworks that are very well supported.
They're super easy.
Very helpful.
One is called Alamo fire.
It's for networking making network requests et cetera et cetera.
And the other one is called Alamo fire image.
It's from the Alamo fire team but it's used specifically for downloading and saving images using the
Alamo fire framework.
Very very cool.
So we're going to dive into that in the very next video so why don't you go ahead and head over to the
next video and I'll see you there.