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