cannot find protocol declaration for "xxDelegate" 的异常

cannot find protocol declaration forxxDelegate 的错误在申明协议的时候提示:cannot find protocol de

cannot find protocol declaration for "xxDelegate" 的错误

在申明协议的时候提示:cannot find protocol declaration for  "xxDelegate", 就表示你在两个类中,交叉应用了彼此。