Real Swift. Real Frameworks.
The Swift programming language was designed to be approachable enough to be your very first programming language. Swift is also incredibly powerful, used by professional developers to create over half a million apps on the App Store. Using Swift Playgrounds, you’ll be coding within minutes. Even as you become more proficient, you’ll never outgrow Swift.
Swift Playgrounds gives you access to key frameworks, such as UIKit, SpriteKit, Bluetooth, and Metal. Your code can directly interact with the iPad or Mac on which it runs. For instance, on iPad your playgrounds respond to touch gestures and interact with hardware, such as the accelerometer, gyroscope, and camera.
Experiment with Code
Sometimes the best way to learn is to explore on your own, and Swift Playgrounds is a great place to let your imagination run wild. In addition to the guided Learn to Code lessons, Swift Playgrounds includes many challenges, with new ones on the horizon, so you can keep coming back to try something new. Some challenges encourage you to play with code to create interesting effects, while others include engrossing puzzles that require all of your coding skills to solve.
Additional starting points included in Swift Playgrounds help you create playgrounds from scratch. With access to thousands of APIs in the iOS and macOS SDKs, you can create amazing playgrounds that explore the web, generate 3D worlds, experiment with physics, and much more.
Many playgrounds let you edit multiple Swift source files and add your own to the included modules to create infinitely powerful programs. Most playground files can be edited, extended, remixed, or completely reinvented. Collaborate with friends or reimagine them on your own.