To demo how powerful SwiftUI is, I wrote this “MacBook Air M1 Zhuyin Keyboard”.
It’s only ~300 LoC, and took me < 4hrs. (The goal is not pixel perfect but you get the idea.)
Source code: https://gist.github.com/ethanhuang13/8587d10689e3735354f975f6a25ef9fa