PFUser / PFInstallaion saveEventually - Missing argument for parameter No. 1 when called

I use PFUser and PFInstallation with the saveEventually method. However, when I call the method, I get an error:

Missing argument for parameter # 1 on call

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

 PFUser.currentUser().saveEventually() installation.saveEventually() 
+5
source share
1 answer

I get it. I had to import BFTask.h into my bridge header.

 #import <Bolts/BFTask.h> 
+7
source

Source: https://habr.com/ru/post/1212402/


All Articles