In Swift, it’s not possible to know if T is Printable or am I missing something?
“Cannot downcast from T to non- protocol Printable”
Conversation
Replying to
know limitation? or shouldn’t I be doing what I’m trying to do?
1
Suggest using function overloading to accomplish your goals.
1
Show replies

