mirror of
https://github.com/jphong1111/awesome-ios-developer.git
synced 2025-01-03 13:31:09 +07:00
update core data
This commit is contained in:
parent
46f1641919
commit
f8f84fd427
13
README.md
13
README.md
@ -589,6 +589,19 @@ If your target is **below iOS13**, put this line of code in side your **applicat
|
|||||||
self.saveContext()
|
self.saveContext()
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Once you create your DataModel file, you can simply create a **Entity(Class)** and **Attributes(Properties)**
|
||||||
|
|
||||||
|
And then, change the type of attributes in inspector like this
|
||||||
|
|
||||||
|
<img src = ""/>
|
||||||
|
|
||||||
|
CoreDataClass, CoreDataProperties are located in below
|
||||||
|
|
||||||
|
/Users/dennis/Library/Developer/Xcode/DerivedData/CoreDataUserDefaultPractice-hisefjfyuvglrjekndpftwazftug/Build/Intermediates.noindex/CoreDataUserDefaultPractice.build/Debug-iphonesimulator/CoreDataUserDefaultPractice.build/DerivedSources/CoreDataGenerated/CoreDataUserDefaultPractice
|
||||||
|
|
||||||
|
|
||||||
**You are GOOD TO GO** 👏👏👏
|
**You are GOOD TO GO** 👏👏👏
|
||||||
|
|
||||||
## Third Party Library
|
## Third Party Library
|
||||||
|
Loading…
Reference in New Issue
Block a user