I'm attempting to create a constant that depends on another in the following way:
class Thingy {
let paddingConstant = 13.0
let paddingDict = ["padding": paddingConstant]
}
The bottom line gives me an error "Thingy.Type does not have a member named 'paddingConstant'"
.
Is it possible to declare a constant that depends on another?