Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save armcknight/58de74211062f1784b1cb3410f5a07b9 to your computer and use it in GitHub Desktop.
Save armcknight/58de74211062f1784b1cb3410f5a07b9 to your computer and use it in GitHub Desktop.
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