3lvis / DATAStack

100% Swift Simple Boilerplate Free Core Data Stack. NSPersistentContainer
Other
214 stars 44 forks source link

Using with FetchRequestTemplate #107

Closed TheSwiftyCoder closed 7 years ago

TheSwiftyCoder commented 7 years ago

Looking for help on how I would use this with FetchRequestTemplate?

Thanks

3lvis commented 7 years ago

Hi! This is the first time I hear about it. Are you talking about this? https://developer.apple.com/documentation/coredata/nsmanagedobjectmodel/1506369-fetchrequesttemplate

TheSwiftyCoder commented 7 years ago

Yes - Projects have a bunch of modelled queries that I would like to add without rewriting, is this possible via DataStack?

3lvis commented 7 years ago

The model is private https://github.com/3lvis/DATAStack/blob/master/Source/DATAStack.swift#L26 so probably not possible since we would have to make it public.

3lvis commented 7 years ago

Since DataStack is just basically one file I would recommend you to make a fork and tweak it so the model is public.