Swift Protocols

WWDC 2015 Session 408 (video, PDF): This is a static type safety hole. Why did it happen? Well, it’s because classes don’t let us express this crucial type relationship between the type of self and the type of other. In fact, you can use this as a “code smell.” So, any time you see a … Continue reading Swift Protocols