Пример #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);
 }