sayHelloox
sayHelloox
can not work for me , What am wrong with me? id object = object_getClass([TestObject new]); [object aspect_hookSelector:@selector(testClassMethod) withOptions:AspectPositionAfter usingBlock:^(id info){ NSLog(@"Class method ------ hook"); } error:NULL]; //then call method...
> Can I use Aspect in Swift Language Have you got the right way?
do you have answer? do you have solution for hook class method?