阅读背景:

如何迭代一个带下播的Swift [AnyObject]数组?

来源:互联网 

How can I loop over an array of AnyObjects in Swift and downcast to the appropriate class at the same time? I can do it verbosely like this, but I just can't seem to find a way to do this without an "if let" inside the loop:How can I loop over an array of AnyObjects in S




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: