Explore Swift Playgrounds Coding Challenges
June 7, 2021
Swift Playgrounds helps people on iPad and Mac learn to code in Swift and experiment with tools and frameworks. The app is also full of great instructional Playground Books and Challenges to help you try something new.
We’ve taken a few of those existing Playground Books and created daily challenges ready for you to explore. Build a text quiz, make music, design dizzying animations, use iPad to create sensor-based visuals — and most importantly, have some fun.
Design a quiz in Swift Playgrounds
Do the people in your life know your favorite animal noise? How about the book that changed your life? Your least favorite pizza topping? Design a “How well do you know me?” quiz to see who knows the most about your quirks and interests.
Challenge: Design a quiz in Swift Playgrounds
View nowCreate a musical instrument in Swift Playgrounds
The first part to composing a musical masterpiece? Making your own instrument from scratch! In this challenge, you’ll use graphical tools to create a musical instrument that will leave your audience floored (and waiting for an encore)!
Challenge: Create a musical instrument in Swift Playgrounds
View nowCreate visual effects in Swift Playgrounds
Ever wonder how to make it seem like confetti is raining down from the sky? Or how to create a kaleidoscope effect using code? This challenge asks you to create an artistic rendering using only shapes and your imagination.
Challenge: Create fun visual effects in Swift Playgrounds
View nowSense the world around you in Swift Playgrounds
Just like eyes, ears, and noses, our devices are constantly gathering data from their environment, and using that information to perform interesting and critical functions in your life. In this challenge, you’ll deliberately harness some of this device sensor data to create a visualization or experience of your choosing.