Answers for "swift dict remove key"

0

remove key by index dictionary swift

//Get Key
let item = Array(myDict)[indexPath.row]

//Remove Key
myDict.removeValue(forKey: item.key)
Posted by: Guest on March-04-2021

Code answers related to "Swift"

Browse Popular Code Answers by Language