yulingtianxia / FishChat

Hook WeChat.app on non-jailbroken devices.
http://yulingtianxia.com/blog/2017/02/28/Make-WeChat-Great-Again/
1.12k stars 202 forks source link

新建项目使用CH(CHDeclareMethod0)使用self关键字无法通过编译 #13

Closed huakucha closed 7 years ago

huakucha commented 7 years ago

CHDeclareClass(NewSettingViewController) CHDeclareMethod0(void, NewSettingViewController, reloadTableData) { CHSuper0(NewSettingViewController, reloadTableData); MMTableViewInfo *tableInfo = [self valueForKeyPath:@"m_tableViewInfo"];

} 新建项目 编译不通过提示:Receiver type 'NewSettingViewController' for instance message is a forward declaration 好像只要使用self就无法编译成功

yulingtianxia commented 7 years ago

@huakucha 请使用 mrc