Is there a way to add method at class level or struct level in swift?
struct Card { var rank: Rank var suit: Suit func simpleDescription() -> Stri
p 353
class SomeClass { class func someTypeMethod() { // type method implementation goes here } } SomeClass.someTypeMethod()
Excerpt From: Apple Inc. “The Swift Programming Language.” iBooks. https://itun.es/us/jEUH0.l