KomodoOpenLab / TypeOver

TypeOver facilitates typing on your iOS device when using external switch interfaces compatible with VoiceOver.
1 stars 2 forks source link

ViewController button action refactoring #197

Open tnantais opened 11 years ago

tnantais commented 11 years ago

There is a great deal of duplicated code in each of the button action methods in the view controller. It is possible to assign multiple buttons to the same IBAction method and use the sender parameter to distinguish between the buttons. The code would be much easier to manage if duplication was removed where possible.

OwenMcGirr commented 11 years ago

funny you should mention this

I did some refactoring yesterday. Much easier to navigate and manage now ;)