Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PFUser/PFInstallaion saveEventually - Missing argument for parameter #1 in call

I am using PFUser and PFInstallation with the saveEventually method. However, when I call the method I get an error that reads:

Missing argument for parameter #1 in call

Any idea what Xcode is asking for? Do I need to import any special header files? Here is my code:

PFUser.currentUser().saveEventually()

installation.saveEventually()
like image 972
atwalsh Avatar asked Feb 02 '15 01:02

atwalsh


1 Answers

I figured it out. I had to import BFTask.h in my bridging header.

#import <Bolts/BFTask.h>
like image 179
atwalsh Avatar answered Nov 15 '22 03:11

atwalsh