Skip to content

Instantly share code, notes, and snippets.

@RinniSwift
Last active April 17, 2019 06:07
Show Gist options
  • Save RinniSwift/03a4099f19c5d6410488b62101b83b7d to your computer and use it in GitHub Desktop.
Save RinniSwift/03a4099f19c5d6410488b62101b83b7d to your computer and use it in GitHub Desktop.

What will I refactor?

old code base line 40 to 110

  • The action sign in button.
    • to reduce amount of lines in code.
    • to reduce redundent code.

How will I refactor it?

  • create helper functions for independant tasks, and to reduce redundent code.
  • refactor the networking layer to push tasks into the background thread instead of pushing it to the background thread everytime I call the object.


    Completed code: refactored code line 30 to 71
    Completed code commit: commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment