Setup (iOS)
Installation
The Reaper iOS SDK is a static, pre-compiled framework that can be installed one of the following ways:
Cocoapods
Add the line pod 'Reaper'
to your Podfile.
Manual Download
Download the SDK and link it into your app, e.g. by adding -L/directory/of/framework
and -framework Reaper
to the linker flags.
Runtime Initialization
To run Reaper, add the following code in your startup path, e.g. in applicationDidFinishLaunching(_:)
:
import Reaper
...
EMGReaper.sharedInstance().start(withAPIKey: "myKey") // The key is provided to you by Emerge
Reaper will then automatically report class usage during that run of the app.
Updated 18 days ago