PFArrayResultBlock(parse)在转换为Swift 2.0时导致错误 [英] PFArrayResultBlock(parse) is causing an error while converting to swift 2.0

查看:75
本文介绍了PFArrayResultBlock(parse)在转换为Swift 2.0时导致错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我转换为swift 2.0时,我正在使用parse作为后端,并且遇到很多错误. 我正在附上我遇到的错误图片以及在我的项目中使用该功能的地方.

I am using parse as my backend and having many errors while i'm converting to swift 2.0. I am attaching pics of an error i'm getting and the place where that function is being used in my project.

任何建议或帮助将不胜感激.

Any advice or help will be much appreciated.

推荐答案

您的完成区块是

PFArrayResultBlock

查询所期望的

PFQueryArrayResultBlock

类型略有不同-人们期望[PFObject]吗?另一个[AnyObject]?

The types are slightly different - one expects [PFObject]? the other [AnyObject]?

这篇关于PFArrayResultBlock(parse)在转换为Swift 2.0时导致错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆