Skip to content

Instantly share code, notes, and snippets.

@orospakr
Created July 29, 2019 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save orospakr/90fd2b147785f8641502d612f61f87c2 to your computer and use it in GitHub Desktop.
Save orospakr/90fd2b147785f8641502d612f61f87c2 to your computer and use it in GitHub Desktop.
import Foundation
import RoverCampaigns
@objcMembers @objc
public class RoverWrapper : NSObject {
public static func startRover() {
// The following is the same as you have seen in the Rover documentation:
// Initialize Rover Campagins with its modules
RoverCampaigns.initialize(assemblers: [
FoundationAssembler(),
DataAssembler(accountToken: "YOUR_SDK_TOKEN"),
UIAssembler(),
NotificationsAssembler(),
LocationAssembler(),
DebugAssembler()
])
}
// continue with making wrapper functions as needed here.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment