What is the most basic or simplest way to persist a string value?
persistence string value
Add a Comment
What is the most basic or simplest way to persist a string value?
NSUserDefaults. For example:
UserDefaults.standard.set("some value", forKey: "someKey")
UserDefaults.standard.string(forKey: "someKey")
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"