Pixelworm iOS SDK
Contents
Purpose of this SDK
Pixelworm SDK uploads your views into Pixelworm
’s system.
After uploading your views and your design files to Pixelworm
you can see suggestions on how to improve your designs.
Installation
Installing using Cocoapods
To integrate Pixelworm iOS SDK
into your project you must add following line to your
Podfile
. For usage and installation instructions, visit their website.
pod 'PixelwormSDK', '~> 1.0.28'
Installing using Carthage
To integrate Pixelworm iOS SDK
into your project you must add following line to your
Cartfile
. For usage and installation instructions, visit their website.
github "pixelworm/pixelworm-ios-sdk" ~> 1.0.28
Usage
After integrating the SDK into your project navigate to your AppDelegate.swift
file.
- Add
import PixelwormSDK
to the beginning of the file. - In
application(_:didFinishLaunchingWithOptions:)
function, add the lines below. Make sure you replaceYOUR_API_KEY
andYOUR_SECRET_KEY
with your application’s keys.
Pixelworm.attach(apiKey: "YOUR_API_KEY", secretKey: "YOUR_SECRET_KEY")
- In
applicationWillTerminate(_:)
add the lines below.
Pixelworm.detach()
- You're good to go. Just launch your application and look for
PixelwormSDK
's output in your debug console. Once you see the success message go checkPixelworm
's Screens page!
Contributing
Please make sure you've read this document before contributing: