DPObjCRuntime

对Objective-C中`Runtime`特性进行封装


License
MIT
Install
pod try DPObjCRuntime

Documentation

ObjCRuntime

对于ObjC运行时的相关封装

导入

pod 'DPObjCRuntime', '~> 1.0'

使用

MethodExchange

为方便使用,封装了方法交换的函数

// 实例方法交换
MethodExchange(self, @selector(...), @selector(...));
// 类方法交换
ClassMethodExchange(self, @selector(...), @selector(...));

LICENSE

此项目采用MIT开源协议,点击查看详情