You are on page 1of 6

A Quick Start to Code

Anyone can learn to code on iPad or Mac with these 10 activities designed for beginners ages 10 and up.

❶ ❹ ❽
Go loopy
Meet Byte Control the
portals


Code your
camera

Play your

❷ own game

Find patterns ❻
Track
the gems
10
❸ Create with
Get groovy ❼ shapes

Draw with
spirals
❶ Meet Byte , download an
d
To get started
laygrounds
Learn about using commands in a install Swift P
c>
sequence to solve puzzles with Byte. on iPad or Ma

Learn to Code 1

Open the Learn to Code 1 playground.


Watch the introduction to Commands,
then try these puzzles:
• Issuing Commands
• Adding a New Command
• Toggling a Switch

find the
Tap See All to
ou need, then
playgrounds y
nload.
tap GET to dow

A Quick Start to Code 2


❷ Find patterns ❸ Get groovy ❹ Go loopy
Learn how to create new behaviors for Use Swift code to create a dance Look for patterns, and use loops to
Byte and solve puzzles using functions. routine for your virtual MeeBot. help Byte collect all the gems.

Learn to Code 1 MeeBot 2.0 Dances Learn to Code 1

Open the Learn to Code 1 playground. Tap the UBTech Jimu playgrounds, Open the Learn to Code 1 playground.
Watch the introduction to Functions, then get the MeeBot 2.0 Dances Watch the introduction to For Loops,
then try these puzzles: playground. Watch the introduction, then try these puzzles:
• Composing a New Behavior then try these puzzles: • Using Loops
• Creating a New Function • Basic Moves • Looping All Sides
• Nesting Patterns • Dance Routine
• Make Your Own Moves

e sidebar
Tap to open th
ground
to see all play
age or use
pages. Tap a p
navigate
the arrows to
s.
between page

A Quick Start to Code 3


❺ Code your camera ❻ Track the gems ❼ Draw with spirals
Connect built-in components to create Use variables to keep count of the Create unique spiral art by changing
a camera and view photos on iPad. gems that Byte collects. variables.

Lights, Camera, Learn to Code 2 Spirals


Code
iPad only

Open the Lights, Camera, Code Open the Learn to Code 2 playground. Open the Spirals playground. Explore
playground. Watch the introduction, Watch the introduction to Variables, the overview, then skip to Playtime to
then try: then try these puzzles: make your own design:
• Starting with a Camera • Keeping Track • Overview
• Seeing Your Photos • Bump Up the Value • Playtime

St e p T h rough My Speed up
Us e ch or
e to h i g hlight ea your cod slow down
Cod ns. eb
e o f c o d e as it ru the spee y tapping
l in dometer
icon.

A Quick Start to Code 4


❽ Control the portals ❾ Play your own game 10 Create with shapes

Learn about types in Byte’s world, and Code your own personalized Rock, Create your own interactive project
alter the properties of portals to switch Paper, Scissors game. with shapes that move and change
them off and on. color when you tap.

Rock, Paper,
Learn to Code 2 Shapes
Scissors

Open the Learn to Code 2 playground. Open the Rock, Paper, Scissors Open the Shapes playground.
Watch the introduction to Types, playground. Read the game rules, Experiment with adding shapes,
then try this puzzle: then explore: images, text, and animations in:
• Deactivating a Portal • Creating a Game • Shape Graphics
• Sample Game • Touches and Animations

view across to
Drag the live n.
e in full scree
play your gam

A Quick Start to Code 5


Keep learning

Everyone Can Code


Download Everyone Can Code Puzzles in Apple Books to go even further with Swift Playgrounds
and explore the concepts behind your code. The guide includes fun activities to help you build on
what you already know, experiment with code, apply your understanding, and learn more about the
role of coding in our lives.

Swift Coding Club


Want to keep coding with friends? Check out the Swift Coding Club resources
for kids, parents, or teachers to start your own after-school, lunchtime, or summer
coding club with Swift Playgrounds.

© 2020 Apple Inc. All rights reserved. Apple, the Apple logo, iPad, Mac, Swift, the Swift logo, and Swift Playgrounds are trademarks of Apple Inc., registered in the U.S. and other countries. Other product and company names
mentioned herein may be trademarks of their respective companies. December 2020

You might also like