Swiftpack.co - Package - YouClap/swift-analytics

Swift Analytics ๐Ÿ“ˆ๐Ÿง

Swift 5.0 license platforms

An analytics abstraction layer for projects based in swift. Can be used in the server and client side.

Inspiration

This is heavily inspired in the Alicerce ๐Ÿ— analytics layer ๐Ÿ™‡โ€

This is probably the best, simple and complete abstraction layer for analytics that the world has ever seen ๐ŸŒ

What is the purpose of this repo?

The analytics layer in the Alicerce ๐Ÿ— is not ready to work in the server side and linux environment.

Alicerce ๐Ÿ— is not ready to be imported in modules with Swift Package Manager which is the preferrable dependency manager in the server side world ๐ŸŒ

This is probably a temporary repository while Alicerce ๐Ÿ— is not ready for Swift Package Manager with modules and linux.

Installation ๐Ÿค

Currently, it only supports Swift Package Manager

Swift Package Manager

Add the following line to your Package.swift

.package(url: "https://github.com/YouClap/swift-analytics.git", from: "0.1.0")

Then add SwiftAnalytics in the dependencies list of your target

.target(name: "Example", dependencies: ["SwiftAnalytics"]

About ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ

With โค๏ธ from YouClap Development team

Github

link
Stars: 0
Help us keep the lights on

Dependencies

Used By

Total: 1

Releases

0.1.0 - May 6, 2019

This was mostly extracted from Alicerce with minor changes (probably for worse) This isn't tested yet โš ๏ธ ๐Ÿšง

Changes:

  • Used Atomic copied from ReactiveSwift
  • Not used type erased AnyAnalyticsTracker
  • Slight changes to MultiTracker and AnalyticsTracker (removed associatedType's and modified track method with generic types)
  • Update Atomic with new Swift 5 accessor _modify