YPLiang19 / Mango

MangoFix is a DSL which syntax is very similar to Objective-C,MangoFix is also an iOS App hotfix SDK. You can use MangoFix method replace any Objective-C or Swift method.
MIT License
1.17k stars 213 forks source link

super.viewDidLoad() 不加括号会崩溃 #18

Closed zhaoxuezhi closed 5 years ago

zhaoxuezhi commented 5 years ago

@YPLiang19 看文档里有写 OC 无参方法的调用可以省略后面的括号,但是super.viewDidLoad这种写法会崩溃,貌似死循环:

class SuperMyController:UIViewController{

image

image

YPLiang19 commented 5 years ago

@zhaoxuezhi 对于super还不行,必须要加上();

YPLiang19 commented 5 years ago

@zhaoxuezhi 最新版本已经解决了这个问题,可以试试~