swizzle method include instance method and class method
//
// swizzle two class method
[[self class] sm_swizzleClassMethod:classSel1 withMethod:classSel2];
//
// swizzle two instance method
[[self class] sm_swizzleMethod:instanceSel1 withMethod:instanceSel2];
swizzleMethod is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'swizzleMethod'
Oborn Jung, obornjung@gmail.com
NilSafety is available under the MIT license. See the LICENSE file for more info.