Swift protocols: method does not override any method from its superclass

You’re implementing a method from the protocol, yes, but it’s not an override. Just remove the override keyword. An override is when your superclass also implements that method and you’re providing a version that replaces or modifies the behavior of the superclass implementation. That’s not what’s happening here.

Leave a Comment