Get argument objet

#1 · closed · 2 comments

View on GitHub ↗

iamredeye

Hello, Thanks for your code, it works great. How could I get arguments values instead of just displaying return type ?

Comments

conradev

This is not the place to ask these kinds of questions. That is what [Stack Overflow](https://stackoverflow.com/) is for. However, to answer your question, you would need to wrap the block. For example: ``` objc - (void)fetchSomething:(NSString *)thing completion:(void (^)(id, id))completion { [super fetchSomething:thing completion:^(id arg1, id arg2) { NSLog(@"(%@, %@)", arg1, arg2); if (completion) { completion(arg1, arg2); } }]; } ```

iamredeye

Thanks