To find the keys of a Swift dictionary, you can use the keys property. Here's an example:
main.swift180 chars4 linesIn this example, myDictionary.keys returns a LazyMapCollection object that contains the keys of the dictionary. You can then use this object to iterate over the keys or access them directly.
gistlibby LogSnag