A declarative “one-time” code utility in Swift — The complete source code for Swift-RunOnce is freely available on Github under the Apache 2.0 license. A few weeks ago, the iOS team at Thumbtack created a utility that enables a developer to declaratively define “one-time” code—code that should execute at most once for the lifetime of an object. The…