Umbrella – Swift Library That Simplifies Working With Several Popular Analytics Providers

Umbrella is an open source Swift library providing an abstraction layer that simplifies working with several different Analytics platforms from Jeon Suyeol.

Umbrella provides support For Firebase, Flurry, Mixpanel, and Answers analytics. You can also create custom providers if required.

This code snippet shows how easy it is to register analytics providers and log an event:

let analytics = Analytics<myappevent>()
analytics.register(provider: FirebaseProvider())
analytics.register(provider: FlurryProvider())
analytics.register(provider: MyCustomProvider())
analytics.log(.purchase(currency: "USD", price: 9.99, transactionID: "20170709123456"))

You can find Umbrella on Github here.

A nice straightforward library for working with analytics.

Original article: Umbrella – Swift Library That Simplifies Working With Several Popular Analytics Providers

©2017 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *