             }
         }
     }
-    
 }
+

    
    var socialAccount: SocialAccount?
    
    var oauthComplete: (() -> Void)?
    
    var afterOAuthAction: ((socialAccount: SocialAccount) -> Void)?
    

    }
}

// MARK: - NSURLConnectionDataDelegate

extension ProfileViewController: NSURLConnectionDataDelegate {
    
    func prepareForOAuthResult(notification: NSNotification) {
        
        oAuthCompleteAction?()

        if let result = notification.object as? NSNumber, socialAccount = self.socialAccount {
            if result == 1 {
                
