rcerrejon
4/7/2017 - 8:32 AM

Constants

Constants

// Between import and class

struct Constants {
    static var stringVar = "foo"
    static var intVar = 34
}

// Call it like:

Constants.stringVar = "bar"