Testing IBOutlets and IBActions With Curried Functions in Swift

Ben Chatelain: Currying helps to simplify these outlet and action test functions so that the view controller doesn’t have to be passed in every function call. Just like the sumA function holds onto the value of the first parameter, these test functions hold onto a reference to the view controller being tested. There’s also the … Continue reading Testing IBOutlets and IBActions With Curried Functions in Swift