How to remove duplicated objects by my rules from an array in Swift?

后端 未结 0 722
心在旅途
心在旅途 2021-01-29 16:29

I have simply an array like this:

let array = [Tag]()

class Tag {
    var name: String
    init(name: String) {
        self.name = name
    }
}

相关标签:
回答
  • 消灭零回复
提交回复
热议问题