Conforming to Objective C protocols in Swift
When conforming to an Objective C protocol in Swift, make sure that the Swift class also inherits from NSObject.
When conforming to an Objective C protocol in Swift, make sure that the Swift class also inherits from NSObject.