All in Computer Science

Pulling live data from USGS to Swift Playgrounds

While presenting last weekend, I was inspired by a presenter who was pulling earthquake data from the United States Geological Survey, an activity which is showcased in Unit 5 of Intro to App Development. This chapter deep dives into Closures and Extensions, as well as, showing how to decode JSON feeds. I then extended this idea to plot the month’s most significant Earthquakes using MapKit.

Probability with Swift

I have recently remixed and reworked a mathematics investigation which was originally written for Scratch with my ex-colleague Jan Honnens .  The main purpose of this activity was to showcase the capabilities of Swift Playgrounds and how to bring new life into old resources with multi-touch interactivity to give students the necessary feedback to engage with course material.

Developing Swift Playgrounds Course Material

Since the release of Swift Playgrounds at WWDC in June 2016 I have been madly learning how to develop playgrounds so that I can utilise them in the courses I teach.  This has meant not only learning the markup, but also converting my resources over to Swift 3 with very limited documentation.  In this article I would like to share some of what I have learnt from developing these playgrounds and the surrounding course material.