ios - Swift 2 syntax for Parse fetchAllIfNeededInBackground -


what syntax pfobject's fetchallifneededinbackground (with block) in swift2.

the objective-c signature is:

+ (void)fetchallifneededinbackground:(nullable nsarray<pfobject *> *)objects block:(nullable pfarrayresultblock)block;

parse pfobject documentation

can write quick example compiles in swift 2?

auto-complete should fill you, if not, have tried like

pfobject.fetchallifneededinbackground(<objects>) { (results: [anyobject]?, error: nserror?) -> void in      } 

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -