I am getting some keys and values from a push notification. Then I want to check if the keys are properties of an object, so I can map the object accordingly. But I want to be able to use lower case keys and the object properties are camel-case.
So the question is how can man implement, in Swift 4, a case-insensitive version of NSObject's:
self.responds(to: Selector(value))