What does this __attribute__((nonnull(2))) mean in the following method declaration?
- (void)requestShareWithObjectId:(NSString *)object
completion:(void (^)(NSString *likes, NSString *reposts))completion __attribute__((nonnull(2)));
It denotes that the Second parameter should not be a null pointer.
References
__attribute__