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

Invalid bundle error while upload the app to the app Store

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift