Start Xcode (Version 6.1.1). Xcode is an Integrated Development Environment for mac OS.
Main Menu > File > New Project
Under “OS X” choose “Application” and then “Cocoa Application” (this template creates a Cocoa application for the OS X platform).
Enter the “Product Name” and choose the Swift Programming Language.
Go to the “Project Navigator” area and select the “Main.storyboard”.
Search for a “Label” in the Object Library:
Figure: Xcode, Object Library
Drag & Drop a Label from the Library to the Window.
You can use the so called Inspector, located right above the Library, in order to change the name of the window and the name of the Label to “Hello World!”.
If you click on the window the Inspector will show the attributes of the window.
Figure: Xcode, Inspector, attributes of a window
If you click on the label the Inspector will show the attributes of the label.
Figure: Xcode, Inspector, attributes of a label
Figure: Xcode, Main.storyboard
Run the application: Main Menu > Product > Run
The output is: