var pages: [String: Int] = [
"Index": 0,
"About": 10]
// Add or update values in the dictionary.
pages.updateValue(200, forKey:
"Index")
pages.updateValue(300, forKey:
"Changes")
// Display contents.
for (key, value) in pages {
print(key, value)
}
About 10
Changes 300
Index 200