mirror of
https://github.com/jphong1111/awesome-ios-developer.git
synced 2025-01-03 13:31:09 +07:00
finished update UserDefault
This commit is contained in:
parent
27dbcce0b9
commit
53b047cb54
@ -474,11 +474,11 @@ let defaults = UserDefaults.standard
|
|||||||
```
|
```
|
||||||
> **standard** allows to access from anywhere inside device
|
> **standard** allows to access from anywhere inside device
|
||||||
|
|
||||||
With using set function, you can set userdefaults
|
**With using set function, you can set userdefaults**
|
||||||
|
|
||||||
<img src = "https://github.com/jphong1111/Useful_Swift/blob/main/Images/UserDefaultSet.png" width = "60%" height = "60%"/>
|
<img src = "https://github.com/jphong1111/Useful_Swift/blob/main/Images/UserDefaultSet.png" width = "60%" height = "60%"/>
|
||||||
|
|
||||||
Also these function will allow to get a data from plist
|
**Also these function will allow to get a data from plist**
|
||||||
|
|
||||||
<img src = "https://github.com/jphong1111/Useful_Swift/blob/main/Images/UserDefaultGet.png" width = "60%" height = "60%"/>
|
<img src = "https://github.com/jphong1111/Useful_Swift/blob/main/Images/UserDefaultGet.png" width = "60%" height = "60%"/>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user