Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot put NSError in syncPOST #6

Closed
jackyshek opened this issue May 8, 2015 · 1 comment
Closed

Cannot put NSError in syncPOST #6

jackyshek opened this issue May 8, 2015 · 1 comment

Comments

@jackyshek
Copy link

I have used the syncPOST to get the json with using swift. However, synPost need the NSErrorPointer not NSError.

Here is the Code:

var error = NSErrorPointer()
var error_mes:NSError // failed
let josn: AnyObject! = manager.syncPOST(getCol_link, parameters: nil, operation: nil, error: error)

Error:
Cannot invoke 'syncPOST' with an argument list of type '(String, parameters: nil, operation: nil, error: NSError)'

@paulmelnikow
Copy link
Owner

Hmmm, I'm not sure the correct fix, but don't think this is a problem with this library. Can you try posting on StackOverflow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants