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 -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -