示例#1
0
 public void Dispose()
 {
     LibObjc.method_setImplementation(swizzle.originalMethod, swizzle.newImpl);
     swizzle = null;
 }
示例#2
0
 public Unswizzle(Swizzle <TDelegate> swizzle)
 {
     this.swizzle = swizzle;
     LibObjc.method_setImplementation(swizzle.originalMethod, swizzle.originalImpl);
 }