Should not it be like below?
obj-c
original = class_getInstanceMethod([self class], @selector(deleteLogFiles));
swizzled = class_getInstanceMethod([self class], @selector(deleteLogFilesDavid));
Topic:
Programming Languages
SubTopic:
General
Tags: