- iOS 12 Programming for Beginners
- Craig Clayton
- 35字
- 2025-02-28 11:21:49
Iterating over dictionary keys
To iterate over a dictionary's keys using a for...in loop, add the following to Playgrounds:
for key in dictPizzas.keys { print(key) }
Your code and output should now look like this:
