Skip to content

Middleware that reacts to an Application's lifecycle

Notifications You must be signed in to change notification settings

SwiftRex/AppLifecycleMiddleware

 
 

Repository files navigation

AppLifecycleMiddleware

This is a SwiftRex Middleware that specializes in transforming application lifecycle notification to Redux actions.

The original code was pulled from @luizmb's code and extracted to avoid copying it over and over. In addition the code was refactored to allow to mock some of the notifications provided by the NotificationCenter (via dependency injection).

Current features

We currently support the following notifications :

Future enhancements

Looking at supporting those additional notifications :

About

Middleware that reacts to an Application's lifecycle

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%