Events
Events is a package for logging high-cardinality events in your Mac or iOS app.
Installation
Events can be installed using SwiftPM. If you’re using it from another Swift package, add this snippet to the dependencies
in your Package.swift
:
.package(url: "https://github.com/mjm/Events", .branch("master"))
You can also use Events from your macOS or iOS app using Xcode 11’s SwiftPM support.
- Click on your project in Xcode’s Project navigator.
- Select the project in the sidebar of the editor.
- Hit the + button on the Swift Packages tab.
- Enter
https://github.com/mjm/Events
for the package repository URL. - Choose
Branch
and usemaster
as the branch. - Be sure the Events library is added to the target for your app.
- Choose
Finish.