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

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.

主站蜘蛛池模板: 仲巴县| 中山市| 金昌市| 万州区| 枣强县| 台南市| 安平县| 南皮县| 连城县| 邵阳县| 墨脱县| 祁连县| 罗城| 南昌市| 大悟县| 涪陵区| 开阳县| 邹城市| 龙州县| 旬阳县| 靖边县| 姚安县| 保山市| 玉林市| 荆州市| 汪清县| 广宗县| 于田县| 思南县| 井冈山市| 乌拉特前旗| 武城县| 淮北市| 共和县| 鄱阳县| 印江| 泗水县| 扎囊县| 贵州省| 定陶县| 佛坪县|