Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example of an Objective C method signature with a block parameter defined in literal syntax.
@interface MyClass
- (void)someMethodWithInput:(NSObject *__nonnull)input completion:(void(^__nullable)(NSObject *__nullable a, NSObject *__nullable b, NSObject *__nullable c))completion;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment