Accessing a type method

Accessing a type method is different from accessing an instance method.

If you want to say

Foo.bar()

You’ll need to say this if you’re in a struct

static func bar() {
}

or this if you’re in a class.

class func bar() {
}