mirror of
https://github.com/jphong1111/awesome-ios-developer.git
synced 2025-02-02 04:14:41 +07:00
edit UserDefault
This commit is contained in:
parent
6e35b5153a
commit
136a15fdcd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user