我正在使用Parse,我有一个注册页面,在该页面中调用:
user.signUpInBackgroundWithBlock { (succeeded: Bool, error: NSError?) -> Void in
我检查过,这在之前的Xcode版本上是有效的,然而当Swift 1.2发布时也出现了类似的问题,但它并没有解决我的问题。
我得到的错误是:
Cannot invoke 'signupInBackgroundWithBlock' with an argument list of type: '((Bool, NSError?) -> Void )'
非常感谢您的帮助。