What is the difference between static and class functions/properties in Swift?
Hi everyone! I'm learning Swift and I can't understand the difference between the keywords `static` and `class` when we declare functions or properties inside a class. The documentation says that both of them belong to the type itself, not to an instance, but what's the difference then?
For example, I have this code:
```swift
class MyClass {
static var staticProperty = "Static property"
class var classProperty: String {
return "Class property"
}
static func staticMethod() {
print("Static method")
}
class func classMethod() {
print("Class method")
}
}
```
I see that both `static` and `class` allow calling methods without creating an instance of the class: `MyClass.staticMethod()` and `MyClass.classMethod()`. But why then the entity