Swift playgrounds for the micro:bit

Discover how to code the micro:bit in Swift using this interactive book!

What is Swift Playgrounds?

'Swift Playgrounds' es una aplicación para el iPad que nos ayuda a aprender a programar en el lenguaje Swift usando 'libros interactivos'. Hemos creado un libro que interactúa con el micro:bit sin cables, ayudándote a aprender los fundamentos de la programación ¡mientras te diviertes con tu micro:bit!

Coding a micro:bit from an iPad in Swift

Getting Started

To get started with Swift Playgrounds for micro:bit you will need to:

  1. Get the Swift Playgrounds App
  2. Get the micro:bit book
  3. Prepare your micro:bit

Once you are all set up you can start using the playground!

Get the Swift Playgrounds app

Download and install Swift Playgrounds from the iOS App Store:

(This works on iPads with iOS 11 and newer; iPad Air, Air 2 and 5th-gen iPad. iPad Mini 2, 3, and 4 and all iPad Pros)

Download on the iOS App Store

Get the micro:bit book

The micro:bit book can be downloaded from within the latest version of the Swift Playgrounds app. From the main screen of the app, scroll down to the 'From Other Publishers' section and tap the 'micro:bit' book:


Tap 'Subscribe' and the book will appear in your subscriptions:

Prepare your micro:bit

The micro:bit will communicate with the iPad wirelessly using Bluetooth Low Energy. As a result you will need to download a 'hex' file and drag it on to your micro:bit (this is called 'flashing').

On a computer with a USB port:

  1. Connect your micro:bit to your computer using USB
  2. Download the latest Bluetooth control hex file
  3. Drag-and-drop the file to your micro:bit to copy it, as described in the USB guide page.
  4. Your micro:bit is now ready to be used for Swift Playgrounds!

Once your micro:bit is ready you will need to pair it with Swift Playgrounds. Please follow the instructions inside the app to get started.

Using the Playground

The app contains all the instructions you need to get coding! Once you've downloaded the book on your iPad and prepared your micro:bit, open the micro:bit book and tap 'Let's Start Coding'. Tap 'Pair micro:bit' to begin pairing your micro:bit with your iPad.

Get Support

If you are having issues with our book for Swift Playgrounds, please create a new Support ticket.

Selecting this opens external content from our support system, which adheres to their privacy policy.