我是靠谱客的博主 忧郁小松鼠,这篇文章主要介绍Incompatible pointer types returning 'NSArray *' from a function with result type 'xxx *',现在分享给大家,希望可以做个参考。
Incompatible pointer types returning 'NSArray *' from a function with result type 'xxx *'
一个是NSArray类型,一个是xxx类型,如何能对得上呢,这时应该仔细留意前后代码,通常加上lastObject或者firstObject,
数组里面的第一对象或第一个对象。

如有不对之处,欢迎指出,感谢。
最后
以上就是忧郁小松鼠最近收集整理的关于Incompatible pointer types returning 'NSArray *' from a function with result type 'xxx *'的全部内容,更多相关Incompatible内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复