Combination Anonymous Function declaration/call is broken up #53
Open
Description
UIViewController *const modalToDismiss = ^UIViewController *{
switch (container.presentationStyle) {
case MQCardOnFileLinkingFlowViewPresentationStyleModal:
return self.currentModalViewController;
case MQCardOnFileLinkingFlowViewPresentationStyleFullScreen:
return (self.currentModalViewController != self.fullScreenNavigationController) ? self.fullScreenNavigationController : nil;
}
}();
becomes
UIViewController *const modalToDismiss = ^UIViewController *
{
switch (container.presentationStyle) {
case MQCardOnFileLinkingFlowViewPresentationStyleModal:
return self.currentModalViewController;
case MQCardOnFileLinkingFlowViewPresentationStyleFullScreen:
return (self.currentModalViewController != self.fullScreenNavigationController) ? self.fullScreenNavigationController : nil;
}
}
();
Metadata
Assignees
Labels
No labels