The error says: extra argument 'progressBlock' in call. What's wrong?
pin.saveInBackgroundWithBlock({(success, error) -> Void in
if success == false {
...
} else {
...
}
},
progressBlock: { (amountDone: CInt) -> Void in
var percent = Float(amountDone)
elf.progressIndicatorView.progress = CGFloat(percent)/100
self.progressIndicatorView.reveal()
})
try: