The following code compiles in Swift 1.2:
class myClass { static func myMethod1() { } class func myMethod2() { } static var myVar1 = \"\"
There's one more difference. class can be used to define type properties of computed type only. If you need a stored type property use static instead.
Class :- reference type
struct :- value type