Created
June 22, 2014 18:07
-
-
Save pietbrauer/3e944fb9329fb0e306c0 to your computer and use it in GitHub Desktop.
I am getting the following error "Cannot convert the expression's type 'Void' to type 'String!'" when trying to call https://github.com/xing/XNGAPIClient/blob/master/XNGAPIClient/XNGAPIClient%2BGeoLocations.h#L31-L37
This file contains hidden or 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
| XNGAPIClient.sharedClient().putUpdateGeoLocationForUserID("me", accuracy: 3000, latitude: location.coordinate.latitude as CGFloat, longitude: location.coordinate.longitude as CGFloat, ttl: 420, success: { (JSON: AnyObject!) in }, failure: { (error: NSError!) in }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment