     let cognitoAccountId = "775034650473"
     let cognitoIdentityPoolId = "eu-west-1:9b74dda9-5643-479c-a6c4-88d2871ec787"
     let region = AWSRegionType.EUWest1
-
+    
     func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
         
         let config = Configuration()

        print("Failed to register:", error)
    }
    func application(application: UIApplication, didReceiveRemoteNotification userInfo: [NSObject : AnyObject]) {
        
        if let urn = NSURL(string: userInfo["urn"] as! String) {
            switch urn.pathComponents![1] {
            case "posts":
                retrievePostWithIDAndUserWithID(urn.pathComponents![urn.pathComponents!.indexOf("posts")!+1])
            case "users":
                retrieveUserWithID(urn.pathComponents![urn.pathComponents!.indexOf("users")!+1])
            default: ""
            }
        }
    
    }
    
    //Mark: - Tapglue

import Tapglue
import RxSwift
import AWSS3
import Whisper

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
    
    var window: UIWindow?
    
    let awsHost = "https://tapglue-sample.s3-eu-west-1.amazonaws.com/"
    
    let appToken = "02930ef5d193f8c78e5d8c7d80a5a9dc"
    let url = "https://api.tapglue.com"
