Swift Playgrounds is for first-time coders, an iPad app that makes getting started fun and interactive. With the built-in Learn to Code lessons, use real code to solve puzzles and meet characters you can control with just a tap. The book "Intro to App Development with Swift" will help you learn how to start building your first app, from start to finish. You’ll learn the basics and experiment with playgrounds in Xcode, the software used to make apps on your Mac.
Apple designed Swift to be easy to use and it lets you see what you’re creating with code as you write it. It uses familiar words, like “print”, “add” and “remove”. Swift is great for getting started with code and it’s also incredibly powerful. Some of the world’s most popular apps are created in Swift.
Learning to code
Learning to code with Swift Playgrounds is fun and engaging and requires no previous coding knowledge, so it’s perfect for students just starting out. The app comes with a complete set of Apple-designed lessons. Play through the basics in “Fundamentals of Swift” using real code to guide a character through a 3D world. Solve puzzles to master the basics using Swift, then take on a series of challenges and step up to more advanced creations. Swift Playgrounds includes a collection of extra challenges — with new ones added over time.
To help on more advanced creations, Templates will give you a head start — providing code that takes advantage of iPad technologies like the accelerometer and the gyroscope. Add your own graphics, audio and more to make them more interactive.
Share your code to a friend’s iPad using Mail, Messages or AirDrop. Your friends can view it in Swift Playgrounds and even build on it by adding their own code. Because you’re working with real code, you can import and export directly between Swift Playgrounds and Xcode, so you can try out your ideas with the tool pros use to develop iOS and Mac apps.