edit UserDefault

This commit is contained in:
Jungpyo Hong 2021-05-21 15:53:03 -05:00 committed by GitHub
parent 6e35b5153a
commit 136a15fdcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -433,10 +433,10 @@ func application(_ application: UIApplication, didFinishLaunchingWithOptions lau
simply move into that path and you can find the documentDirectory of your Application
> if Library is not shown up, just do **Shift + Command + .** to show hidden files in your folder
### Usage
f
<img src = "https://github.com/jphong1111/Useful_Swift/blob/main/Images/UserDefaultPlistPath.png" />
### Usage
As you can see in the below, intArray will stored inside the device through UserDefaults(), so that if device is shut down, changed value wil be stored in device.
```swift