Streamlining lots of View Controller interactions with Swift enums.
Frederik Jacques

Thanks for share it!

But I think would be less intrusive in your code, create an extension with User Interactions or one MARK block to separate actions of the rest.

Something like this:

// MARK: — User Interactions

@IBAction func fromLocationRowPressed() { }


extension UIViewController {

@IBAction func fromLocationRowPressed() { }


What do you think? Anyway your approach is valid too😬