While following a tutorial on using the Keychain feature, I noticed a section of code where I needed to implement a structure as the following:
// Keychain Configuration
struct KeychainConfiguration {
static let serviceName = "TouchMeIn"
static let accessGroup: String? = nil
}
I know that a constant property on a value type can't be modified once instantiated so I was curious of the purpose of using static in this sense?
P.S.
This question is not similar to this question because the highest accepted answer (which I would think is the best answer) doesn't provide enough detail or any pros or cons.