Table Driven Tests in Swift
Table driven tests give you more test coverage for less lines of code. Let’s explore how to write them in Swift
Stop Using NSNotificationCenter
Don’t use
NSNotifcationCenter
. Most of the time it’s a HUGE mistake. It’s okay to use the center to respond to iOS driven events, like UIKeyboardDidShow
Notification. But don’t use it to wire up message passing in your own code