Handling iOS events in complex applications

I have been developing for Android for quite some time, and now I started to learn iOS, and here's what:

On Android, when you have a huge number of events passing through the application, it becomes very tedious to create and implement all these interfaces (protocols), subscriptions and unsubscriptions, etc. And there are a couple of very good eventbusses, for example Otto over the area https://github.com/square/otto

So, I was wondering if there is a standard iOS solution for handling various events in various elements of the application, or is this done by implementing and subscribing to protocols? Or maybe there is some cool eventbus library, for example, on Android?

+7
source share
2 answers

Or you can try Tolo, inspired by Otto, an equally convenient and powerful event publishing environment for iOS. Just SUBSCRIBE() or PUBLISH() from anywhere.

Check it out at http://genzeb.imtqy.com/tolo

+13
source

NSNotificationCenter serves as a built-in distribution mechanism for application-specific events. (Unlike low-level events.)

+6
source

All Articles