← All projects

02 App Store 2017 – 2022

Scanny

Started a month before iOS could scan QR codes on its own. Scans and creates QR codes, with a synced history – written in Swift with UIKit and Storyboards.

App Store ↗

The story

When I wrote Scanny, Apple didn't have its own way to scan QR codes yet. Just scanning felt a bit thin to me, though: people who read QR codes often want to create them too, so that feature went in right away. I also wanted a history of everything you've scanned. It happened to me often enough that I scanned a website, closed it by accident and couldn't find it again.

What I learned the most from, though, was something else entirely: my own custom tab bar. My senior at the time warned me that it wasn't a good idea and would mean a lot of work. But I was young and naive and thought: how hard can it be? So I wrote my own container view controller that I could add child view controllers to. It wasn't modular yet, and adding new tabs was neither abstracted nor simple. The selection in the background was a CALayer that animated back and forth between the tabs.

When everything worked, I was really proud of myself. And then the iPhone X came out. Suddenly I had to deal with the safe area, and the fun began. As soon as everything worked again, Dark Mode arrived, and of course a CALayer knows nothing about dynamic colours. So, more changes. Slowly I began to understand how great a standard tab bar is, where Apple does all the work for free. It may not fit the design perfectly, but it doesn't come with such huge costs either.

By the time I'd adapted everything, Apple had long since built a QR code scanner into iOS itself. Still, Scanny was a great project for me: I got to make all these mistakes myself, build everything custom and learn first-hand how incredibly expensive and unnecessary that can be.

Highlights

  • Live scanner with AVFoundation and Vision, sound and haptic feedback
  • Recognises links, SMS, WhatsApp, mail, contacts and Wi-Fi codes and opens a matching screen for each
  • Create your own QR codes in custom colours and export them as images
  • History with favourites, synced through iCloud (Core Data + CloudKit)
  • iPad split view, Dark Mode, 3D Touch quick actions
  • No ads, no subscriptions, no tracking