Methods/steps
1. First, the xcode development environment must be built on an Apple Mac computer.
2. open the "xcode" development tool and click "file"->; "new"->; "Project" item to create a new project.
3. Then, in the open "Create Project" wizard interface, select the "Application" item in the "OS X" system, select the "Command Line Tool" item, and click "Next" button to create a command line application based on the OS X system.
4. Next, enter the "Project Name" and "Language", especially select "swift" here to create an application, and click the "Next" button.
5. Then directly click the "Create" button to create the application.
6. In the program development interface, click the "main_swift" item on the left to open the main program programming window.
In this window, there is only one statement: "println ("hello, World! ") The function of this statement is to display "Hello, World! "In the output window. Words.
7. Click the "Run" button in the upper left corner of the interface to see the output results in the output window.
Next, you can enter the program code here and start the programming journey.