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
Correct.
1
1
know limitation? or shouldn’t I be doing what I’m trying to do?
1
Replying to
Suggest using function overloading to accomplish your goals.
Replying to
1
Show replies

