StoreUserDefaults.standard.set(20, forKey: "Key") //Integer UserDefaults.standard.set(true, forKey: "Key") //Bool UserDefaults.standard.set("Something", forKey: "Key") //setObject Retrive
UserDefaults.standard.integer(forKey: "Key") UserDefaults.standard.bool(forKey: "Key") UserDefaults.standard.string(forKey: "Key")