输入tjx,显示:for i in 1...2 { moveForward() } ; turnLeft(); for i in 1...2 { moveForward() } ; collectGem() //添加新命令 1向前移动两步2 左转3向前移动两步4吃宝贝
让效果动起来:在Xcode7中使用Playgrounds做原型设计本文由海之号角 (OceanHorn)译自:Get Things Moving: Prototyping Animations in Playgrounds with Xco...