PFObject的fetchAllIfNeededInBackground (带块)在Swift2中的语法是什么?
目标-c签名是:
+ (void)fetchAllIfNeededInBackground:(nullable NSArray<PFObject *> *)objects block:(nullable PFArrayResultBlock)block;
解析PFObject文档
有人能写出一个在Swift 2中编译的快速示例吗?
发布于 2016-01-27 18:34:21
自动完成应该为您填写,如果没有,您是否尝试过类似的
PFObject.fetchAllIfNeededInBackground(<objects>) { (results: [AnyObject]?, error: NSError?) -> Void in
}https://stackoverflow.com/questions/35045167
复制相似问题