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

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -