Skip to content

Instantly share code, notes, and snippets.

protocol CatProtocol {
var name: String { get set }
func nya() -> String
mutating func sleep()
func clone() -> Self
func cast<T>(to: T.Type) -> T?
}
class Cat : CatProtocol {
required init() {}