Won’t this create redundant code?
moh tabi

I’m new in Swift, but can’t you save callback function as variable and call it where you need without copy/paste of the actual code? And if you need special behavior then it won’t be redundant.

Show your support

Clapping shows how much you appreciated Jelena Mihailicenko’s story.