Files
the-swift-programming-langu…/source/chapter4/03_Ballons.md
2018-02-14 19:41:29 +08:00

17 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# WWDC里面的那个“大炮打气球”
> 翻译:[老码团队翻译组-Arya](http://weibo.com/littlekok/)
> 校对:[老码团队翻译组-](Jame)
![Ballon playground](https://devimages.apple.com.edgekey.net/swift/images/swift-screenshot.jpg)
很多小伙伴说对WWDC上介绍Swift语言时演示的那个“大炮打气球”的Ballons项目很感兴趣。
Ballons不但展现了playgrounds许多很赞的特性还让我们看到写代码的过程原来可以这么互动这么好玩。
现在你可以下载这个[Ballons.playground](https://developer.apple.com/swift/blog/downloads/Balloons.zip)的教学版本,学习这些有趣的效果是怎么实现的。教学版本里除了源文件,还有相关说明文档,我们还出了一些小小的实验题,你可以动手修改代码,然后在右侧马上看到效果。
这个playground文件用到了SpriteKit的新特性因此需要最新beta版本的Xcode 6和Yosemite系统来支持它运行。
本文由翻译自Apple Swift Blog的博文[Ballons](https://developer.apple.com/swift/blog/?id=9)