I have this Swift block:
var onLoggedIn: ((sender:AnyObject?, showFTUE:Bool) -> ())?
Trying to use it in Obj-C, and XCode 7 autocompletes as:
[loginController setOnLoggedIn:^(id _Nullable, BOOL) {
<#code#>
}];
But then throws an error and tells me parameter name is omitted. I tried inserted the parameter showFTUE in various positions with no luck.
In my Swift translation file it's translated as:
^(id _Nullable, BOOL showFTUE)?