This code
if ( [currentValue isKindOfClass:NSClassFromString(@"NSString")] ) {
CBDebug(@"this is a string");
works well when the type of currentValue is __NSCFString
but it doesn’t recognize the string if the type is __NSCFConstantString
How can I fix it ?
(I’m on OSX)
thanks
Try this: