m1entus/MZFormSheetPresentationController

didDismissContentViewControllerHandler

Closed this issue · 1 comments

Hello,
I can't find any example about using in SWIFT:
MZFormSheetPresentationViewControllerCompletionHandler didDismissContentViewControllerHandler

in objective-C I used this line, what's the equivalent in Swift?:
formSheetController.didDismissContentViewControllerHandler = ^(id p){ //do something ; };

thank you for your support

Hi, this works:
formSheetController.didDismissContentViewControllerHandler = { viewController in
//do something
}