Heidi and Adelaide, Girls of the Alps

I am unashamedly a big fan of Heidi, the 1881 book by Swiss author Johanna Spyri. I’ve read the book twice, and seen a number of different representations.

In 2010, German researcher Peter Büttner discovered an interesting story written 50 years before Heidi by German author Hermann Adam von Kamp. It is also about a girl who lives with her grandfather in the alps, until she moves away, gets homesick, and eventually returns. He suggests that Spyri may have been inspired by this older story.

This fascinated me, and I had to track down the original text! None of the news articles I found had a link to it, let alone one translated into English. I managed to find a PDF of the Public Domain work, so I took it upon myself to transcribe it into plain text, and put together an English translation:


WWDC 2017

This year I got to attend WWDC for the second time!

Here I’m going to try and explain what WWDC is like, what you can expect if you go, and a little bit of what I learned and experienced this year.


Xcode 7.3 Crashes With Non-ObjC Properties in Classes

On March 21, 2016, the world celebrated the release of Xcode 7.3 Official! 🎉

If you’re anything like me, you quickly downloaded the DMG (not from the AppStore), updated all your code, your dependencies, excitedly ran your app for the first time in this bright, new world, and…

It crashed. Not only that, but the stack trace was anything but helpful. What even is realizeClass(objc_class*)?

I’m going to show you how to fix this, without having to resort to going back to Xcode 7.2.


Easier Enums with Private Types

In Swift, I try to use protocols as often as I can. I also like to use enums as often as is appropriate. Often times I find myself with an enum conforming to some protocol or another. For every property I implement, I have to switch self to get the right value – and this can get really old, really fast.

Luckily, Swift lets you have private types that you can use to make your enums a whole lot shorter! This is just a quick tip that I came across the other day. You won’t believe what comes next!


Using Xcode and Swift Package Manager Together

If you’re developing in Swift and using the Swift Package Manager to manage your dependencies, you may have noticed that you can’t easily use Xcode to write your project. You aren’t able to import any of your dependencies into your package, and so tons of errors appear.

This is how I created a new project and integrated it with my dependencies build with spm.