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

How to blink a button iOS swift?

iOS flutter while run to iPhone it had the error - Cannot find type 'PhoneNumberKit' in scope