Hello world and Xcode

Hello World after 7 years of experience on Microsoft Dynamics AX.

Create a new project

Choose single view app

Write your product name

After creation of the project using XCODE IDE

3 button that I highlight is make the properties visible/invisible

Main.storyboard
(where we design)

Adding a label to storyboard

Center the label

Play with properties of the label

Add new constraints

This is very important. Each item that we added on our desin we need to add constraints that will allow our design to be same in all devices(Iphone 6-7-8-11 etc.)

Take our label element to code

Create an outlet for the label

Finally we will write some code...

Our storyboard is connected to viewController.swift class. That is where we control out actions on the design.

RUN

Add an animation to Hello World

Bir cevap yazın