In Swift, why protocol initializers must be defined as required in conforming types?
You may have asked yourself “why either the conforming types must define initializers of protocols as ‘required’ or they must be final”.
You may have asked yourself “why either the conforming types must define initializers of protocols as ‘required’ or they must be final”.
We cannot define designated initializers in extensions. But why is that? In this post I am going to show you an example of the reason of that.