How can I call a static function on a protocol in a generic way?
问题 Is there a point to declaring a static function on a protocol? The client using the protocol has to call the function on a type conforming to the protocol anyway right? That breaks the idea of not having to know the type conforming to the protocol IMO. Is there a way to call the static function on the protocol in a way where I don't have to know the actual type conforming to my protocol? 回答1: Nice question. Here is my humble point of view: Is there a point to declaring a static function on a