Is the objective-c ‘isKindOfClass:’/’isMemberOfClass:’ methods considered as ugly as the java ‘instanceof’?
Is the objective-c ‘isKindOfClass:’/’isMemberOfClass:’ methods considered as ugly as the java ‘instanceof’?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Objective C is a highly dynamic language so using isKindOfClass/isMemberClass is sometimes necessary so no, IMHO it is not considered ugly, rather a feature.