Created
January 27, 2016 23:12
-
-
Save gbasile/5fa221e78859474f2677 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let request = RegisterDeviceTokenRequest(deviceToken:tokenString, callback: { (response: Result) -> Void in | |
switch response { | |
case .Success: | |
DDLogInfo("📩 ✅ Device token registration") | |
case .Failure(let error): | |
DDLogError("📩 ❌ Device token registration \(error)") | |
} | |
}) | |
NetworkingClient.request(request) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment