Find first element matching condition in Swift array (e.g. EKSource)

前端 未结 7 1713
迷失自我
迷失自我 2020-12-24 05:35

I would like to find the first EKSource of type EKSourceType.Local with a \"single\"-line expression in Swift. Here is what I currently have:

7条回答
提交回复
热议问题