Swift Enumerations and Storyboard Segue

Andrew Bancroft walks through his approach for encapsulating Storyboard segue identifiers using a Swift Enumeration.

By creating an Enumeration that stores raw String values, I was able to encapsulate what would otherwise be “magic strings” in a type-safe construct for easier, cleaner use in my code.