iOS開發關於Block代碼錯誤

本文永久地址爲http://www.cnblogs.com/ChenYilong/p/4052362.html ,轉載請註明出處。html

iOS開發關於Block代碼錯誤ruby

Incompatible block pointer types sending 'void (^)([ClassNameA]] *__strong)' to parameter of type '[BlockName]' (aka 'void (^)([ClassNameB]] *__strong)')

典型傳參錯誤,[BlockName]應該傳參[ClassNameB]可是你傳參傳入了[BlockNameA]spa

 

本文永久地址爲http://www.cnblogs.com/ChenYilong/p/4052362.html ,轉載請註明出處。code

相關文章
相關標籤/搜索