remove key from dictionary swift 5 code example
Example: remove key by index dictionary swift
//Get Key
let item = Array(myDict)[indexPath.row]
//Remove Key
myDict.removeValue(forKey: item.key)
//Get Key
let item = Array(myDict)[indexPath.row]
//Remove Key
myDict.removeValue(forKey: item.key)