Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Example of an Objective C method signature containing a block with an encapsulated type.
typedef void(^__nullable MyBlockType)(NSObject *__nullable a, NSObject *__nullable b, NSObject *__nullable c);
@interface MyClass
- (void)someMethodWithInput:(NSObject *__nonnull)input completion:(MyBlockType)completion;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.