I have a hardcoded snipet of code in java like below. How can I rewrite this code on Swift 3 using protocols or another swift stuff.I have a hardcoded snipet of code in java like
I have a hardcoded snipet of code in java like below. How can I rewrite this code on Swift 3 using protocols or another swift stuff.I have a hardcoded snipet of code in java like