//
//  ViewController.swift
//  PinpointKitExample
//
//  Created by Paul Rehkugler on 2/7/16.
//  Copyright © 2016 Lickability. All rights reserved.
//

import UIKit
import PinpointKit

final class ViewController: UIViewController {
    override func viewDidLoad() {
        super.viewDidLoad()
        
        view.backgroundColor = UIColor.lightGrayColor()
    }
    
    override func viewDidAppear(animated: Bool) {
        super.viewDidAppear(animated)
        
        PinpointKit.defaultPinpointKit.show(fromViewController: self)
    }
}

//
//  ViewController.swift
//  PinpointKitExample
//
//  Created by Paul Rehkugler on 2/7/16.
//  Copyright © 2016 Lickability. All rights reserved.
//

import UIKit
import PinpointKit

final class ViewController: UIViewController {
    
    let pinpointKit = PinpointKit(configuration: Configuration(feedbackRecipients: ["hello@lickability.com"]), delegate: nil)
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        view.backgroundColor = UIColor.lightGrayColor()
    }
    
    override func viewDidAppear(animated: Bool) {
        super.viewDidAppear(animated)
        
        pinpointKit.show(fromViewController: self)
    }
}

--- 
+++ 
@@ -10,9 +10,6 @@
 import PinpointKit
 
 final class ViewController: UIViewController {
-    
-    let pinpointKit = PinpointKit(configuration: Configuration(feedbackRecipients: ["hello@lickability.com"]), delegate: nil)
-    
     override func viewDidLoad() {
         super.viewDidLoad()
         
@@ -22,6 +19,6 @@
     override func viewDidAppear(animated: Bool) {
         super.viewDidAppear(animated)
         
-        pinpointKit.show(fromViewController: self)
+        PinpointKit.defaultPinpointKit.show(fromViewController: self)
     }
 }
Revert "Adds some test code to see the recipients in action"

This reverts commit 0ca146dc8d28bba82ef7fcccdb795b45daef42c6.
