We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
my code
#import <ReactiveObjC/ReactiveObjC.h> -(UIView * _Nonnull (^)(void (^ _Nonnull)(void)))addTouchAction{ @weakify(self); return ^(void(^actionBlock)(void)){ @strongify(self); self.userInteractionEnabled = YES; UITapGestureRecognizer *zer = [[UITapGestureRecognizer alloc]initWithActionBlock:^(id _Nonnull sender) { actionBlock(); }]; [self addGestureRecognizer:zer]; return self; }; }
build error : "error: unexpected '@' in program @weakify(self); ^ " , "error: unexpected '@' in program @strongify(self); "
The text was updated successfully, but these errors were encountered:
Try to use my fork, https://github.com/sdkdimon/RACObjC
Sorry, something went wrong.
Also it is separated for UI and Non UI modules.
No branches or pull requests
my code
The text was updated successfully, but these errors were encountered: