UserDefaults setter and getter
Thomas Mak wrote at 2021-04-18.
// set
UserDefaults.standard.set("anything", forKey: "yourKey")
// get
UserDefaults.standard.value(forKey: "yourKey")
Thomas Mak wrote at 2021-04-18.
// set
UserDefaults.standard.set("anything", forKey: "yourKey")
// get
UserDefaults.standard.value(forKey: "yourKey")
Comments
no comments yet.