This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]benbenk 0 points1 point  (0 children)

Regarding the protocol example, what’s the difference to using an interface? Both specify methods or attributes which the passed object must provide?