Reply to Why would class_getInstanceMethod return nil? Should not it be like below? obj-c original = class_getInstanceMethod([self class], @selector(deleteLogFiles)); swizzled = class_getInstanceMethod([self class], @selector(deleteLogFilesDavid)); Programming Languages General Mar ’21