The block argument:
void (^)(void) // A block that takes no arguments
and
void (^)() // A block that takes any number of arguments
are both mapped to delegate:
delegate void()
I ran into this issue when trying to port this code:
RAC(self, createEnabled) = [RACSignal
combineLatest:@[ RACObserve(self, password), RACObserve(self, passwordConfirmation) ]
reduce:^(NSString *password, NSString *passwordConfirm) {
return @([passwordConfirm isEqualToString:password]);}];
Which was mapped by FXGen to:
public static ReactiveCocoa.RACSignal combineLatest(this ReactiveCocoa.RACSignal @this, Foundation.INSFastEnumeration signals) reduce(delegate rtl.id() reduceBlock);