Avoiding the Overuse of @objc in Swift

Swift 2.2’s #selector syntax introduces a new compiler error: Argument of ‘#selector’ refers to a method that is not exposed to Objective-C. Fix-it Add ‘@objc’ to expose this method to Objective-C Jesse Squires: We cannot simply add @objc to this method in the original ViewControllerType protocol for a number of reasons. If we do, then … Continue reading Avoiding the Overuse of @objc in Swift