Post

Replies

Boosts

Views

Activity

How to abstract FetchRequest on previews
I would like to keep using FetchRequest for my data since I am using CoreData, however I am not sure how to apply this since in the example an object is used fore the translation of the model while FetchRequest requires a view. My first thought is to use a protocol for a view that would have the FetchRequest and do the translation then pass it up some how, but I am not sure about it. Could you provide an example on how to accomplish this, I would really appreciated it Thanks 😊
1
0
600
Jun ’20