1 Reply
      Latest reply: Sep 20, 2016 2:29 AM by eskimo RSS
      ShinehahGnolaum Level 1 Level 1 (0 points)

        What is the most basic or simplest way to persist a string value?

        • Re: persistence string value
          eskimo Apple Staff Apple Staff (8,730 points)

          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"