xcode unqualified id warning

So, picking up someone's old code, it's hitting this in a function's argument using Xcode 11: (id)node


if ([node isKindOfClass:[NSArray class]])


It appears their intent is to then probe by class.


While I can unravel this into a series of overloaded functions, is this really the best way?


Is there a way to disable this warning?

xcode unqualified id warning
 
 
Q