I need to define a dictionary of method calls in swift, effectively I want a list of function pointers based on passed in string, a pattern commonly seen in Python in lieu of switch statements. Perhaps I'm approaching this wrong and switch statement would be the recommended approach here but I wanted to move the setup logic into classes member variable declarations rather than having it reside in constructor for clarity. Here is what I currently tried and this should give you a rough idea of what I'm trying to achieve:I need to define a dictionary of method calls i