In Swift we can have a global let variable initialized once and available everywhere.
let container = Container()
class Container {
}
Or the standard Singleton pattern like:
class Container {
static var instance = Container()
}
Since both are initialized once, what's the difference between the two?