Thinking up Singletons
While exploring a rescue project, I came across singletons… tons and tons of singletons. There was even a
Singletons.swift that just instantiated the lot of them at runtime. Because reasons…
Playing With Gold – Units and Operators in Swift
While playing around with the idea of creating a treasure generator for my tabletop gamer, I ran across Soroush Khanlou’s post on Units which seemed fun to try out.
Core Animation - Press and Hold
Recently I was trying to create a Press and hold animation that was controlled by the user tapping, holding and releasing a button.
Reinstall iOS Simulators
TLDR; Use the following to completely destroy all your iOS Simulators and to create a new batch.
curl "https://gist.githubusercontent.com/cabeca/cbaacbeb6a1cc4683aa5/raw/8e17f39f5a7413fd0559c9e6808e01b6fb514422/simulator_populator" -o "simulator_populator.rb" && chmod +x simulator_populator.rb && ./simulator_populator.rb
Podcasts I listen to
During my daily bike rides to work (or my rare spells of exercise), I usually listen to podcasts. They’re interesting, often funny and very educational. And most importantly, while they’re all about subjects I’m interested in, they often touch on important subjects and issues I didn’t know about before.