摘要: 1、判断某个类是否实现了某方法:A *a =[[A alloc] autorelease]; if([a respondsToSelector:@selector(methodName)]){ //do something }else{ //do other something }2、判断某个类是否... 阅读全文
posted @ 2014-10-11 12:18 jack_ou 阅读(4864) 评论(0) 推荐(1)