When declaring a class to conform to a protocol, any superclass declarations must come first:
class MyClass: NSObject, ClassyProtocol { func addClassToClassesList() { // } }