如何快速把oc代码 转成runtime代码

有大量oc代码 想转换成runtime代码 ,自己手动写 太累人了,请问有什么好办法

啥玩意儿????

花钱雇人写

不是你到底在问啥,有例子吗。您到现在在论坛上问的问题我就没有一个看明白问题描述的

:sweat_smile:就字面意思啊
转成runtime代码 就不需要依赖了
比如:
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.backgroundColor = [UIColor whiteColor];
self.window.rootViewController = [[TabBarViewController alloc] init];
[self.window makeKeyAndVisible];
这些代码 如何快速转成runtime代码

libClang或者正则吧

Clang Rewriter可以实现你的需求。具体可以自己Google。现成的工具目前为止没见过

好的:kissing_heart: