iOS-Open-GPX-Tracker icon indicating copy to clipboard operation
iOS-Open-GPX-Tracker copied to clipboard

Refactor ViewController

Open merlos opened this issue 5 years ago • 0 comments

View controller handles all the interface elements of the map (signal, buttons, timers and counters), this makes the code long (add all the items in the controller, and then manage their status)

Some candidates to refactor into stateless components are:

  • GPS signal
  • Buttons UI
  • Numeric indicators.

The idea would be to make these components dumb and whose state is managed by the controller.

Related with #83

merlos avatar Mar 17 '19 13:03 merlos