swift class protocol-限定协议只能由类实现
protocol GameMode:class
“You can limit protocol adoption to class types (and not structures or enumerations) by adding the class keyword must always appear first in a protocol’s inheritance list, before any inherited protocols”
我思故我在