- Swift iOS Programming for Kids
- Steffen D. Sommer Jim Campagno
- 152字
- 2021-07-09 19:04:56
Chapter 3. Say Hello
For historic reasons, the first program we usually make when learning a new programming language is a program that simply outputs the text Hello World
to the console. Printing to the console is reasonably simple and is, therefore, often a good starting point to ensure that everything is set up correctly. To honor traditions, we will do the same with our very first program written in the Swift programming language:
print("Hello World")
Exciting! To achieve this, the chapter will cover the following topics:
- Introducing a console application
- Setting up our first Xcode playground and taking a look at the most important parts of a playground
- Writing our first Hello World program using Swift and a playground
- A quick look at how Xcode playground communicates errors and how we can use autocompletion to write code faster and more safely
推薦閱讀
- Mastering Entity Framework Core 2.0
- Reporting with Visual Studio and Crystal Reports
- PHP 7底層設計與源碼實現
- Groovy for Domain:specific Languages(Second Edition)
- C語言程序設計同步訓練與上機指導(第三版)
- Symfony2 Essentials
- 碼上行動:用ChatGPT學會Python編程
- MySQL程序員面試筆試寶典
- Java圖像處理:基于OpenCV與JVM
- Java Web應用開發給力起飛
- Sails.js Essentials
- Mastering OpenStack
- 深入大型數據集:并行與分布化Python代碼
- 開源網絡地圖可視化:基于Leaflet的在線地圖開發
- 測試架構師修煉之道:從測試工程師到測試架構師(第2版)