标签: ios swift
如何用过滤器替换以下功能?
for index in 0..<self.array.count { let event = self.array[index] if event?.label == event1?.label{ self.array.remove(at: index) break } }