Skip to content

Add callback for the MIViewController

Choose a tag to compare

@southpeak southpeak released this 30 Oct 10:11
· 3 commits to master since this release

In v1.0.0, we didn't handle the callback for a scene, and just set a temp parameter in the method -viewControllerWithScene:context:callback:(MICallback _Nullable)callback; of the MIMediator. In this version, we store the callback block in the MIViewController to send data back to the previous View Controller.