iOS Swift - Local Data Persistence
What is wrong with this Swift code for saving and retrieving a color string?
UserDefaults.standard.setValue("blue", forKey: "color")
let color = UserDefaults.standard.string(forKey: "color")
print(color!)