Generic functions overload in Protocols

Here are some answers that explain Swift's approach to generics—they address somewhat different questions but all explain the relevant underlying concept (in this case, it answers the question as to why self.shouldUpdate(...) in your implementation of save always calls the same implementation):

1 Like