In last blog we learn how to install xcode in mac and window.Now your xcode install so Today we will learn How to create hello world program(First program) in xcode. And will also know about little bit about xcode.
So now go in application folder and click xcode.Some time pop up window come it it didnt come just open go on menu bar and create new project.
File -> New ->Project
You will get this screen.
We have got number of default application types that we can
use.
1.First one us master default application is it much like
ipad email. In which you will
get some content in left and some content in right.
2.Page based application : in which you can switch from page
to page using this
option below.
3.Tabbed application is similar to page based application.
4.Empty application doesn’t contain any thing.
5.Game there also
We will focusing on first single view application. That
creates a some kind of demo application that has only single page, or single
view
In the left hand side there has also lot of option. Don’t
worry at this stage it is not important we will discuss on these topics in
later blogs.
Now Click on NEXT button
Here language is swift and objective c. We will focusing on
swift in this ios development blogs. Will check little bit later on objective
C.
In device there has three options iphone ,ipad or both iphone
and Ipad. In starting moment we just focus on I phone later will use universal.
Now when You click on next. It will ask to save your
project. Just try all your ios development project in one folder So later you
can find easily.
I am saving in blogs project.
Now lets discuss about Editor of xcode.
Now we run our code.select device in which you want to run your code.
After it will be build your project successfully.And a window will come if he didn’t then manually open. From
right side of your doc bar of mac.
Congratss you successfully created your hello world
program.Some time simulator screen is not fit with our screenIn this case you
can go on window and change the scale in which you feel comportable.
Thanks for reading in next blog we will focus on basic component labels,buttons,textview..etc.
If any question feel free to mail me or comment.I will try to response fase ASAP.
Happy coding







