CESI Conference 2019: Using Swift Playgrounds for Creativity in Coding with the Code Hub


I finally made it to CESI Conference, a gathering of educators across Ireland who are doing some inspiring stuff with and for their students. They’ve developed a supportive, engaged community of practice around the use of computers and technology and how they can be applied in teaching. This conference is a crown jewel (along with the CESI*CS meetups run by Dr. Millwood). Last year the beast from the east snowed out the conference and the makeup date fell on a date I just couldn’t make, and I had to back out of my planned talk on Turtle Graphics on the iPad.

Turtle Graphics on the iPad 2018

So I was delighted that this year’s conference theme was “Creativity, Collaboration, and Computers: Practitioner Perspectives” and that I had a good deal to talk about in that space. My talk on using cross-curricular Swift Playgrounds in your classroom is a way to introduce coding in a fun, creative way. Now, I was slightly less delighted when I had to shift my talk from the afternoon to the morning to try and make it back to Dublin for a poetry feis, especially as the shift happened after the schedules were printed, but the CESI staff were super accommodating. They even gave me an extra half an hour for my slot! And the attendees of the workshop were diligent in tracking me down from room to room. Some of them have careers as hunting dogs, should the teacher thing not work out.

Creative Coding

The talk part of the workshop went into my background and how the material for The Code Hub has grown over the years. The most compelling reason for me to start a new project isn’t coding for the sake of coding but it’s most often to solve a problem or scratch an itch I feel acutely, and the goal of the Swift Playgrounds I highlighted was to showcase a variety of problem-solving scenarios that might hook a student’s imagination.

We explored playgrounds related to the visual: turtle graphics, Apple’s Puzzle World and Learn to Code playgrounds.

We looked at a few playgrounds that are more text-based, like the Answers playground from Apple, the Shakespeare insult generator, my own Text Adventure playground, and a cool escape room-like playground from some educators in Spain.

The Cipher playground from Apple deserves a special call-out for its story-telling aspect and most approachable crypto content I think you’ll find anywhere.

We looked at playgrounds that use the iPad sensors like the Augmented Reality and the Sensor Create and Arcade playgrounds from Apple.

Because they’re adding things to or interacting things in the room in which they sit, these are great resources for paired (or more) use. I love the buzz in a classroom when we use these playgrounds as kids are up walking around, showing off the world they’ve superimposed on our own.

I’ll post the slides at some point in the near future, but in the meantime I’ve posted the links to the resources I used at https://www.thecodehub.ie/cesi.

So stop by, grab an iPad and subscribe to a few of the playground feeds listed there and try them out!

Get Creative with Code @ Dalkey Creates!

It’s been a busy October already at The Code Hub with our October Learn to Code session in full swing and a visit to Harold Boys National School for EU Code Week on Wednesday. Now we have our eyes set on Saturday, the 13th of October, for our sessions at Dalkey Creates, at Harold Boys National School in Dalkey.

Dalkey Creates
Dalkey Creates

We’re running three hour-long sessions at Dalkey Creates from 2-5pm on Saturday.

I’m particularly excited about working during the festival because I think using technology to express ourselves creatively opens up wonderful possibilities. That the festival have allowed us to run coding workshops alongside some amazing writing folks is a real treat and shows a real open mind.

Our box of goodies
Our box of goodies

We’re going to cater our work to all levels of programmers, from novices who have never coded a line or even heard of coding before to experts who are coding their own games and apps. We’ll explore some of the sensors and functionality of our iPads to place 3D characters (like our beloved Max the Fox, from Apple’s sample code). We’ll play with Sphero’s SPRK+, a little ball of a robot that lights up a room and can make slow shutter art. For all of it we’ll use Swift, which is the same programming language you can use to make apps for your iPhone, iPad, Mac, AppleTV, or Apple Watch.

Coding doesn’t have to just be about STEM, and we’re going to show you its Artsy side on Saturday. Our hope is that we introduce a new generation or two to the creative possibilities where they might have previously just seen a device for consumption.

Max the Fox
Max the Fox

Come Visit!

If you’re in Dalkey this weekend, be sure to check out any of the events on around town and then stop on by the Harold Boys school hall, where we’ll be getting creative with code!

And if you aren’t, it’s well worth a trip out on the DART, Dalkey is a gorgeous little village in South Dublin County. You might get a little bit wet with the weather, but then you can always pop by and get dry with an iPad and Swift Playgrounds…

Up Next

Up next for The Code Hub is another EU Code Week event at Loreto National School in Dalkey on Wednesday, and then we’ll be presenting two sessions at the Berlin Swift Educator Summit, put on by Apple on the Friday and Saturday. So if we don’t see you in Dalkey, maybe we’ll run into you in Berlin!

Celebrate EU Code Week with The Code Hub!

EU Code Week is coming up (where the week runs from the 6th to the 21st of October — don’t ask), are you ready?

EU Code Week and The Code Hub
EU Code Week and The Code Hub

The Code Hub will be running what are now our annual events at Harold Boys National School and Loreto National School in Dalkey, County Dublin, Ireland that you can attend if you’re a student at either of those schools.

And this year we’re excited to be running three separate hour of code sessions at Dalkey Creates, a brilliant writing and creative festival in town. It’s all a part of their DC Junior & Family Fun Day program, and we can’t wait to head down there with our iPads, a few Sphero SPRK+s, and some new goodies in Swift Playgrounds.

In all the sessions we’ll explore the stuff that makes so much of our world tick: code. We’ll tell stories, play with some software turtles, and program a robot or two.

So if you’re a student and you’re in the neighborhood (well, I hope you are, at least, since it’s a school day), enjoy the sessions. And if you’re curious about coding or what we do at The Code Hub or just want to get creative, come visit us at Harold Boys National School on the 13th of October at Dalkey Creates!

Book your Kid’s Session Now: Autumn 2018 Learn to Code Classes Live

We’re live with the latest Learn to Code classes for Autumn 2018!

Book your session now!

The first session will run from September 4th to the 25th, and the second will run from the 2nd of October until the 23rd. The classes are at the Mounttown Community Centre in Dún Laoghaire and take place from 6-8pm.

I hope to see your young coders-in-training there!

Book now for September or book now for October.


Authoring Swift Playgrounds Subscription Feeds

WARNING: Technical content ahead. This one is for those people monkeying around with their own Swift Playgrounds for teaching or just for fun. 

If you, like me, author Swift Playgrounds, you might want to use Apple’s new subscription format to distribute your playgrounds to people. You can visit https://thecodehub.ie/playgrounds/ on an iPad and our first three playgrounds will show up on your device.

Subscribing to Playgrounds
Subscribing to Playgrounds

There are some great tutorials and tips for writing playgrounds out there (Andy Shep has some excellent advice on the subject). In the future I’ll go into how I made the Code Hub Swift Playgrounds, but for now, I have a tip for debugging the feed format.

Creating (and Debugging) a Swift Playground Subscription

With the latest version of Swift Playgrounds, you can create a feed so that your content shows up in the list of playgrounds available to run. That link will give you a bit of insight into the nitty gritty of how you need to format your feed, but for a really clear walk-through it’s worth watching the “Creating Your Own Swift Playground Subscription” session from WWDC this year.

All of which I did, but I really struggled with a feed that just wouldn’t work and presented me with a very generic failure message. So I filed a bug with bugreport.apple.com and waited. In the latest version of Swift Playgrounds you can now go to the preferences for the app (through the System Preferences app) and toggle this little switch:

Authoring Debug Mode
Authoring Debug Mode!

Suddenly I was getting far more useful error messages like this:

Ah ha!
Ah ha!

And that was it! Now, you want to make sure you read through all the keys and acceptable values in the feed format closely. There are quite specific sizes for your thumbnail, preview, and banner images. The content identifier, version, and name in your Manifest.plist must match the values you put in the feed.

The Manifest.plist
The Manifest.plist

But once you’ve taken care of the details, it’ll be a piece of cake for people to install your playgrounds.


A Wrap on the Inaugural Learn to Code Classes, Spring 2018

Today’s the final day for our second session of Learn to Code this spring.

Parting thoughts: Learn to code
Parting thoughts

We’ve had two sessions of 10 kids each, with a variety of programming backgrounds, and ages from 7-12.

I’ll have a longer write-up on the class and the future of The Code Hub, but the quick take is that it’s been a blast. The combo of Apple’s Everyone Can Code curriculum with some of my own and a healthy dose of offline activities has worked well. The Mounttown Community Facility has been an amazing venue to host the classes.

More to come…

The Education Panel from the Digital Citizenship Summit Ireland

As I mentioned, I was at the Digital Citizenship Summit Ireland in April. The guys posted the video from the education panel, and if you have twenty minutes or so, you can watch us talk about digital citizenship in education.

My co-panelists and our moderator all had fascinating takes on the topic of being a digital citizen in the context of education and what it meant to each of them. I loved getting the perspective of a secondary school student, third level student (who ran that morning’s CoderDojo session), and a secondary school teacher who loves connecting schools from different locales, thanks to our digital connections.

DigCitSummit Ireland: Becoming a Digital Citizen in Education

It’s short notice, but if you’re in and around Dublin city center today I’ll be on a panel about Digital Citizenship in education at the Digital Citizenship Summit Ireland

Education Panel at the Digital Citizenship Summit Ireland
Education Panel at the Digital Citizenship Summit Ireland

We’ll be there in the Paccar Theatre at the Science Gallery Dublin from 12:15-12:40. See you there!

Learn to Code, the May Session — SOLD OUT

Sold out!
Sold out!

This is becoming a bit of a habit. Instead of being able to tout the brand new session of Learn to Code for May 2018, it turns out it, too, has sold out within a few minutes of me spreading the word.

Of course, I’m excited about the enthusiasm, but it seems like I’m going to have to start finding extra hours in the day to run some more classes to bring some of Apple’s Everyone Can Code curriculum as well as my own to the kids of South Dublin…

As before, if you or your kids, ideally aged 9-12, want to attend a future Learn to Code class with me, drop by the contact form to let me know and I can make sure you’re amongst the first to hear about any new sessions.

Ready and waiting for the students...
Ready and waiting for the students…