How to test the object type in objective C

Solution:


[object isKindOfClass:[NSString class]]

if want to compare the object iskind of string class

Comments

Popular posts from this blog

store cgpoint in userdefaults iOS swift

libc++abi: terminating due to uncaught exception of type NSException iOS swift