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

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.

主站蜘蛛池模板: 隆安县| 顺昌县| 荥阳市| 呼图壁县| 盘山县| 衡阳市| 黎川县| 磴口县| 喀喇沁旗| 福贡县| 孝昌县| 柘城县| 房产| 叙永县| 平度市| 墨江| 沅陵县| 和龙市| 崇明县| 来宾市| 富平县| 常州市| 怀集县| 毕节市| 大连市| 连城县| 南靖县| 文昌市| 祁连县| 香河县| 沂南县| 怀集县| 吉首市| 龙岩市| 双城市| 沙坪坝区| 富裕县| 昌黎县| 珠海市| 永川市| 昌吉市|