Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

remove key by index dictionary swift

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

//Remove Key
myDict.removeValue(forKey: item.key)
 
PREVIOUS NEXT
Tagged: #remove #key #index #dictionary #swift
ADD COMMENT
Topic
Name
8+9 =