Rather surprised to read this this morning…
Conversation
Replying to
Also interesting that there's no way to write "a subtype of X class and conformer to Y, Z protocols" (like UIView *<SomeProtocol>)
Replying to
Ok, what am I missing? If t conforms to a protocol, why do we care what type it is?
(Genuine question)
1
Case I ran into was "my caller is going to pass me a UIView which also conforms to some additional protocol."
2
Show replies


