0 votes
115 views
asked in Swift by (1.1k points)
Hi All

  how to remove all the value from Dictionary in swift?

1 Answer

0 votes
answered by (2.6k points)
Hi Arthi

  var namesOfIntegers = [Int: String]()

        namesOfIntegers[16] = "sixteen"

 // Empty dic

      namesOfIntegers = [:]

Categories

...