johannesgrothe / Feedolin_RSS_Reader

GNU Lesser General Public License v3.0
1 stars 0 forks source link

Create Entitys for CoreData #151

Open rsc317 opened 3 years ago

rsc317 commented 3 years ago

We would like to save user data, no longer using the current method of saving user data as JSON's in the user documents directory. Therefore we want to switch to Core Date.

rsc317 commented 3 years ago

@johannesgrothe @KenanjaN Some of the property types, like "Image" in "AsyncImage", cannot be used because they don't inherit from NSManagedObjects. Thats why its not possible for me to refactor all our Entity's in this ticket. My suggestion is that we split this ticket in more parts so wen can individual migrate our Entity's and refactor all there dependecies.

KenanjaN commented 3 years ago

You probably can save the "Data" Object that you can get from an Image and Initialize with Image(data: Data). Or we maybe you UIImage for CoreData and initialize every time our Image like Image(uiImage: UIImage)