dillonfagan / Seven-Bridges

An iOS app for simulating graphs and networks.
GNU General Public License v3.0
0 stars 2 forks source link

Clean up ActionsController #24

Closed dillonfagan closed 6 years ago

dillonfagan commented 6 years ago

Currently, a list of actions is added via an array of strings. Tapping on one of these actions then checks the value of the string to then run an associated method in the Graph class.

There must be a way to "attach" these methods to the actions in the list so that the string value does not need to be compared. The code is currently quite messy.