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?
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?