官术网_书友最值得收藏!

Summary

In this chapter, we became familiar with Swift 4 basics. We now know what variables and constants are. We can use basic types, the if and switch statements, and loops, and we can define functions. These are the smallest key building blocks that we will need to start our adventure in Swift 4 and the iOS/macOS/watchOS world.

In the next chapter, you will become familiar with Xcode—the development environment software that is really handy when we are writing code in Swift. You will develop your first playground, which is a nice tool to check and demo the code. You can use everything learned in this chapter, and, in the end, you will be familiar with how to add descriptions using a markup language to make your playgrounds and functions well documented. Don't spend a minute more—find a macOS and move to the next chapter to get your hands dirty with some real code.

主站蜘蛛池模板: 肇州县| 京山县| 资中县| 吉隆县| 龙江县| 嵊泗县| 沽源县| 吉首市| 沙洋县| 林芝县| 凤山县| 洪江市| 固原市| 渝北区| 巴东县| 安陆市| 四子王旗| 翁源县| 株洲县| 滦平县| 呼图壁县| 乐安县| 兴和县| 静宁县| 刚察县| 分宜县| 永定县| 沭阳县| 全椒县| 县级市| 轮台县| 遵化市| 壤塘县| 乡宁县| 县级市| 衡山县| 麻城市| 镶黄旗| 河西区| 宁远县| 格尔木市|