You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
protocol MyModuleInput: class {
func configureModule(item: ARItemInfo)
}
Presetning module router:
try self.transitionHandler!.forSegue(identifier: segueIdentifier, to: MyModuleInput.self).then({ (moduleInput) in
moduleInput.configureModule(item: item)
})
If MyModuleInput protocol is NOT defined as class, the .then block will not be invoked.
I think there must be some kind of warning or a check for this case
The text was updated successfully, but these errors were encountered:
Example:
MyModuleInput
Presetning module router:
If
MyModuleInput
protocol is NOT defined asclass
, the.then
block will not be invoked.I think there must be some kind of warning or a check for this case
The text was updated successfully, but these errors were encountered: