Skip to content

Releases

Add MINotification Category for NSObject

Choose a tag to compare

@southpeak southpeak released this 08 Nov 02:19

The API of Notification is a litter ugly, so we add a category for NSObject to simplify the API. You can see the API in the NSObject+MINotification.h file

Add callback for the MIViewController

Choose a tag to compare

@southpeak southpeak released this 30 Oct 10:11

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.