ObjCRuntime
针对 ObjC 运行时的相关封装
导入
pod 'DPObjCRuntime', '~> 1.0'
使用
方法交换
为了方便使用,封装了方法交换的函数
// 实例方法交换
MethodExchange(self, @selector(...), @selector(...));
// 类方法交换
ClassMethodExchange(self, @selector(...), @selector(...));
许可
本项目采用 MIT 开源协议,点击查看详情
针对 ObjC 运行时的相关封装
pod 'DPObjCRuntime', '~> 1.0'
为了方便使用,封装了方法交换的函数
// 实例方法交换
MethodExchange(self, @selector(...), @selector(...));
// 类方法交换
ClassMethodExchange(self, @selector(...), @selector(...));
本项目采用 MIT 开源协议,点击查看详情