Monthly Archives: April 2016

Stones on a beach

Suppose that you arrange stones into a spiral on a sandy beach. After meticulously arranging your stone spiral, the world seems hell-bent on destroying it. A dog steps on some of the stones, a big wave carries some of them … Continue reading

Posted in Thoughts, Uncategorized | 8 Comments

Find keys by value in Swift dictionary

Here’s a helper method that might come in handy when working with a Swift dictionary. It finds every key mapped to a particular value. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears … Continue reading

Posted in Swift | Tagged | Comments Off on Find keys by value in Swift dictionary