A six-chapter curriculum that teaches geometry concepts using Swift — from drawing simple shapes to building a complete suburban scene — with Maths connections throughout.
Requires Swift Playgrounds 4 on iPad or Mac
Getting started
Getting the playground onto your device takes under a minute.
Here's how it works.
Download Swift Playgrounds 4 for free from the App Store on iPad or Mac. It's the app you'll use to open and run all the code in this curriculum.
Press the Subscribe in Swift Playgrounds button on this page. It opens a deep link (developer.apple.com/ul/sp0) that registers this feed directly in the app.
The Geometry Playground appears in your Subscriptions section inside Swift Playgrounds. Tap it once to download the full playground file.
Swift Playgrounds checks the feed periodically. When a new version is published a badge appears — tap once to update. No re-subscribing needed.
The curriculum
Each chapter builds on the last — introducing a new programming concept alongside the geometry it makes possible.
Meet the Pen API and learn to draw squares, rectangles, triangles, and stars using coordinates and angles.
Introduce multiple pens, colours, fill, and variables to draw diamonds, crosses, snowflakes and more.
Harness the power of loops to draw polygons, spirals, and stars with far less repetitive code.
Use conditionals and Boolean logic to classify shapes — triangles, quadrilaterals, and angles — by their properties.
Write reusable functions with parameters to draw flags from around the world and complex geometric compositions.
Combine everything you have learned to build a complete neighbourhood scene from individual geometric components.
About
Apple Distinguished Educator · Apple Professional Learning Specialist
School-Wide Technology Team Leader, Hong Kong International School
Daniel is an Apple Professional Learning Specialist and Apple Distinguished Educator from Perth, Western Australia. At Hong Kong International School he spearheaded the design and development of an inclusive, modern Computer Science program by integrating it into the NCAS Media Arts Standards.
A strong advocate for the pedagogical integration of technology, Daniel focuses on the transformative potential of STEM education, robotics, and the evolving role of AI in shaping teaching and learning. As a speaker, author, and international educator, he has written extensively on coding, app development, and the impact of emerging technologies on education.
Daniel has delivered keynotes and workshops across Australia, South-East Asia, China, and the USA — inspiring educators worldwide to embrace innovation in their teaching practice.