Today at Apple’s Worldwide Developer Conference keynote, Apple announced Swift Playgrounds, a free iPad app to teach kids of any age basic coding skills in Swift. Playgrounds teaches basic programming concepts like loops and conditionals using an animated character that the budding programmers direct by writing code. The app offers suggestions for code to be used, and Swift Playgrounds also has a special iOS coding keyboard to ease entry of all of those pesky brackets. There's a Fundamentals of Swift lesson that teaches the basics, but then more advanced concepts can be explored in further lessons. Code is created on the left side of the iPad screen, and then results are immediately viewable on the right side of the screen with the tap of a "Run My Code" button. Should developers want to see a full-screen view of their handiwork, it's easy to just swipe the window to take advantage of the complete screen size and resolution. Once the lessons are over, Swift Playgrounds has a collection of challenges that can be undertaken, and Apple plans to add new ones over time. In addition to the coding keyboard, there is also a Snippets Library to hold commonly-used pieces of code, a keypad that automatically pops up when typing numbers, and a feature called Touch to Edit that developers drag the boundaries of a statement around existing code. Last but not least, if you want to move your projects to Xcode, it's possible to export code to Xcode from Swift Playgrounds. Code can also be shared with other Playgrounds users through Mail, Messages, or AirDrop. The app will be available in the App Store this fall, probably about the same time that iOS 10 is released.
No comments:
Post a Comment