An implementation of NSProtocolChecker for iOS.