1

In ruby I can pass a string into the send method to run that method:

coolObject.send("some_method") // Same as coolObject.some_method

How can I do this in Swift?

4

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.