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

Creating a Playground project

As you learned earlier, launch Xcode and click on Get started with a playground:

The Playground template screen will appear. Make sure that you select iOS and then choose Blank and hit Next. You will be asked to give your project a name and a location to save the file; name your new Playground iOS11-Programming-for-Beginners-Ch4. You can save the file anywhere you like. Now, with the project saved, we can explore Playgrounds a bit.

Next, delete everything inside your file and toggle on the Debug panel using the toggle button (command + shift + Y). You should now have a blank screen with the Results Panel on the right, and the Debug Panel opened at the bottom.

We focused on the basics earlier, and now we will build upon those skills. Ranges are one such data type that we should learn about. These are very useful and can come in handy for a variety of reasons. Let's take a look at what ranges are and then start to understand the difference between a closed range, a half-closed range, and a one-sided range.

主站蜘蛛池模板: 普兰县| 宁武县| 武功县| 密云县| 黑山县| 红安县| 潼南县| 湾仔区| 漳平市| 来安县| 苏尼特右旗| 吉林市| 任丘市| 离岛区| 长丰县| 普陀区| 靖宇县| 普安县| 巴楚县| 来凤县| 榆社县| 华蓥市| 乡宁县| 梁山县| 遵义市| 东乌珠穆沁旗| 玉门市| 洮南市| 泰和县| 田东县| 马龙县| 宝兴县| 和静县| 定远县| 武城县| 洛阳市| 海门市| 松江区| 沙田区| 察隅县| 信宜市|