Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.13 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.13 KB
GoMarketMe

GoMarketMe Swift

Affiliate Marketing for iOS Applications.



Installation

Swift Package Manager

  • File > Swift Packages > Add Package Dependency
  • Add https://github.com/GoMarketMe/gomarketme-swift.git
  • Select "Up to Next Major" with "1.0.0"

Using an older version of Xcode? Do this instead:

  • Navigate to the project navigator and select your project or the blue project icon.
  • Package Dependencies > Add a New Package > +
  • In the search bar that appears, enter https://github.com/GoMarketMe/gomarketme-swift.git
  • Press "Add Package"

Usage

Import Library

import GoMarketMe

Initialize Client

init() {
    GoMarketMe.shared.initialize(apiKey: "API_KEY")
}

Make sure to replace API_KEY with your actual GoMarketMe API key. You can find it on the product onboarding page and under Profile > API Key.

Check out our sample app for an example.