instance method 'AddList:' not found (return type defaults to 'id

instance method -AddList: not found (return type defaults to id)---- iOS开发之最灵异事件之6我在一个

instance method '-AddList:' not found (return type defaults to 'id')---- iOS开发之最灵异事件之6

我在一个类里面引用另外一个类的实例方法,方法没有找到。可是我在那个类里面写了方法啊,头文件也申明了.

最后发现是

#import "ExternalListLayer.h"

头文件没有引用,只在.h引用了

@class ExternalListLayer



instance method 'AddList:' not found (return type defaults to 'id')---- iOS开发之最灵异事件之六





instance method 'AddList:' not found (return type defaults to 'id')---- iOS开发之最灵异事件之六




instance method 'AddList:' not found (return type defaults to 'id')---- iOS开发之最灵异事件之六