Swift 数组删除元素removeObject - lidaoyuan/Notes GitHub Wiki self.searchList.removeAll(where: {!$0.name.contains(text.lowercased())})