protocol Animal { func speak() } func callSpeak<T: Animal>(_ t: T) { t.speak() } class Cat : Animal { func speak() { print("nya") } } let cat = Cat() callSpeak(cat)
-Osize
-O