How do I test which class an object is in Objective-C? - Stack Overflow
經安全檢測,此網站為安全網站,請放心前往原始網址!
How do I test which class an object is in Objective-C? - Stack Overflow
To test if object is an instance of class a: [yourObject isKindOfClass:[a class]] //
Returns a Boolean value that indicates whether the receiver is an ...