So you must be really excited now that we have our X code installed.
You can see here at this point here running version eleven that one.
So depending on when you were watching this video again this may be a different version.
Hopefully a higher version.
OK.
So this is what we have right now say X code.
Once you click to run it start X code assuming you were able to install everything everything is good.
Which should be.
You should see this window here.
Now you notice I have all sorts of other project that are opening here or actually opening but they
are showing so I can open them if I wish to do so.
You probably will not see them on your project right and this window here because you haven't.
Assuming you haven't created any projects using x code and if you have of course you're going to have
some showing here.
So don't worry too much about this.
But what we can do we can go ahead to here and say get started with playground which is not what going
gonna be doing we want to go and get the create a new X code project so create click that and then you
will see that we have this option to choose a template for creating our new project.
Now there's all different templates to use here.
Watch a W OS Mac OS cross platform.
So you should know that apps that we build with swift UI can actually run on all of those.
Right.
So there's few nuances here and there but that's the whole idea of swift UI to allow one code base for
all of other Apple devices.
All right.
So what we need actually just an application that has a single view absolute click the one or the one
that is highlighted right now going to go say next.
So now we have this other window that allows us to create our product.
So you notice that here we don't called app name although it is an app name but we call a product name.
That's what Apple went with to save it where every building it is indeed a product because they want
you to sell it.
Sure.
In any case so we have product named this is where we put a name for our project.
So in this case we say hello world to day.
Right you can put whatever you want there and it will be the project or product name.
Here we have a team name.
So if you dropdown here you can see you have different team names I have the personal policy shown and
I have other ones that I am affiliated with.
Right.
So I'm going to keep with Mugabe studio here because that's my business team name.
But you will choose your own team name.
Right.
Because when you created your account and you pay today 99 or 100 dollars a year you go to price of
creating a team name or maybe you're a part of a different Apple Developer team you are able to provisioning
all that stuff and you should have a way to get a team name there.
OK.
So organization name Polish that's fine.
You can change to whatever you want.
OK.
Now this organization identifier is very important GoDaddy is indeed what identifies as application
not only as you develop it but also when you want to push it to the public in the App Store.
So it's very important to have a unique identifier.
Now when it comes out in the file name usually they say it's a good idea to have a reverse domain name.
What is it this reverse domain name.
Well if you look at dabbled Abu Dhabi dot google dot com the reverse name will be com that Google that
WW something right so the inverse of A reversed name that way.
Each project that you create for each project that you're creating has a unique identifier.
So in this case here I started with Bob build apps with Paolo and I can call this first hello world
and X Code eleven something like that.
OK.
Of course you can put whatever you else want but also notice as you type all of that all of this bundle
identifier which is created via the organization in the fire as well as the product name.
Right.
Because you can see as we type or add anything else here it's being appended there right.
So if I keep tapping typing you notice everything is being a pendant to create the bundle identify which
will further our identification for this project.
Next we have language of course is swift objective c no more.
And the user interface going to be swift UI.
Good that's what we're going to use we no longer like storyboard.
I'm sorry.
Goodbye storyboard.
We want to move to AI now.
Next we have to use core data we don't need to worry about any of that at this point.
So right now I'm going to go ahead and say next and you guys go ahead and ask where you want to put
this project.
I already have a project IRS in my machine.
You can find anywhere else in your machine that doesn't matter really as long as you know where all
of those live.
And also you can add this take for create get repository.
My mike for create get repository on my Mac.
I usually just leave it the way it is.
Just in case I want to actually push this to a get when they create and write then it's gonna go ahead
and create our project I'm gonna get rid of all of that at the top there because we don't need that.
Very good.
So we can see there's a lot of things going on here.
But as time goes by if this is the first time of course you will see that this is not that complicated
our X code is pretty simple once you get used to it.
So in the middle here we have our code editors.
This is where we edit our code.
You will see in a second here to the left we have a few tabs that will open different patterns but the
main one is that we have our project which contain folders with code and assets.
This is where we put our images icons so forth and we can create other assets or other folders inside
here.
In fact when you click on things here notice things are changing to live right.
Right.
If you click here the code changed of course because that's what we want to see.
Right.
We also have a few other things are showing.
So this is very contextual.
So as you click different files contextually speaking we change the file as you see the code there.
Also we have our properties we can change on that file or folder.
We can go ahead and snap our panel there if you wish to do so.
Want to have more space as well as the left as well.
So we have more space and so we can focus on coding.
Now at the bottom here we can also toggle this up.
This is where we have our console where we are running our code.
We can see things showing here as the code is being debated and so forth and we have a console.
We'll see all the output later here.
OK.
So you can see it's so symbol can toggle down and up open and closing like that.
And life is really really good.
OK.
So let's go back to our content view here now because I'm not running Catalina because is still in beta
the upper system which works best with Swifty why we can still work with 55 if we have more have a.
So if I go to my Mac here you can see about Mac you'll see that I'm running Mac OS more have a version
10 14 6.
OK.
Not having Catalina doesn't give us the sweet preview where we can run our code and see the user interface
and interact with it.
That's the one drawback.
But in any case we still can see how wonderful.
So if you are is not having to install Catalina because it's still in beta and I don't want to install
on my main machine if you have an extra machine you can install that but I don't recommend you to do
that because you may end up having a lot of issues with Catalina and it's just not worth it.
Now if you're watching this video after Catalina is out there for the masses and of course you should
insult Catalina but this point here no need to insult Catalina.
All I do really just click here to play.
What that will do it will actually open up our simulator here.
And notice is saying hello world so there we go.
We are running our first swift UI application here hello world is running because we have this text
here that says hello world let's make this a little bit smaller so you can perhaps see side by side
I can also resize the simulator as such and then go hello world.
So you can see here if I comes and change some something here or my name controls save and say command
are to go ahead and run the changes to build the app you can see announces hello world Paolo.
And just like that we're able to run a very simplistic Swifty y hello world that doesn't do much really
but in the next few years we are going to quickly explore what's going on here and get going with safety
why I'll see in the next video.