I have some struct
struct WheelBrand {
var id : String?
var name : String?
mutating func removeAll() {
    self = WheelBrand()
}
I appended it :
for (_,subJson):(String, JSON) in json["data"]{
  let id = subJson["make_id"].stringValue
  let name = subJson["make"].stringValue
  self.itemWheelBrand.append(WheelBrand(id: id, name: name))
  }
How can i remove duplicates from my struct, or i have to append it with unique values?
 
    