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
The compiler seems to have a problem with blocks as method parameters like in following code:
@implementation NSUndoManager (SMBlocks) - (void)groupUndoWithActionName:(NSString *)name block:(void(^)())block { [self beginUndoGrouping]; block(self); [self endUndoGrouping]; [self setActionName:name]; } @end
The text was updated successfully, but these errors were encountered:
Maybe this falls into the same category? From the Apple AstroLayout sample.
UILayoutGuide *(^newLayoutGuide)(NSString *) = ^(NSString *identifierName){ UILayoutGuide *newGuide = [[UILayoutGuide alloc] init]; newGuide.identifier = identifierName; [self.view addLayoutGuide: newGuide]; return newGuide; }; UILayoutGuide *leadingMercuryGuide = newLayoutGuide(@"leadingMercuryGuide");
Sorry, something went wrong.
I have the same issue with this file in version 4.2:
https://github.com/JanX2/Transcriptions/blob/6810467844df3321396496a8a7624b0b6cce58c5/TSCAppDelegate.m#L180
No branches or pull requests
The compiler seems to have a problem with blocks as method parameters like in following code:
The text was updated successfully, but these errors were encountered: