Integrating AppDelegate with Pluggable Services


Find a better way than shifting the responsibilities to pluggable services to manage delegates. Start to use Application Services protocol that will start receiving events. Mirror `AppDelegate` events and create a super class to bind the service events.

Use `PluggableApplicationDelegate` and provide the appropriate service it requires. Creat a pluggable `UIViewController` to create a plug and play view controller life cycle.

"Many techniques have been tried to tame the AppDelegate beast, usually ending up in moving code into private functions or extensions. However, the AppDelegate is much more complex than just moving ..."

Read more on the site

View Article

More info
#4th in TOP Mobile articles
Level Senior


Added by: Chris
Report article