How to refactor without hurting yourself

Refactoring from a UIAlertController to a Custom Alert ViewController

… and passing a closure

  • A bit about refactoring thoughtfully
  • How to make a custom Alert View
  • How to get a result that…