I am a newb to Swift, I am looking to create some nested namespaces, like so:
import Foundation 
public class Foo {
    class Moo {
        class Bar{}
    }
}
and then I can do:
var f = Foo.Moo.Bar()
do we not need to use the static keyword here? I don't understand why I don't need to do it like so:
import Foundation 
public class Foo {
    static class Moo {
        static class Bar{}
    }
}
var f = Foo.Moo.Bar()
can anyone explain why?