Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ViewController button action refactoring #197

Open
tnantais opened this issue Sep 5, 2013 · 1 comment
Open

ViewController button action refactoring #197

tnantais opened this issue Sep 5, 2013 · 1 comment

Comments

@tnantais
Copy link
Contributor

tnantais commented Sep 5, 2013

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
Copy link
Contributor

funny you should mention this

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants