In this Nuke tutorial, you learn how to integrate Nuke into your project using CocoaPods and load remote images while maintaining the app’s responsiveness.
Great suggestion! I had not tried that, and it does build. It looks like this may be turning into a "Perils of using CocoaPods tutorial, the DataCache constructor in the version I got is marked internal, it is public in the version in the final project. Anyway, mischief managed.
Glad to hear it! Nuke is in active development, so there is the chance that things will change.
Actually, looking at the Github repo for Nuke, it looks like the DataCache class is marked as public now. So, hopefully, the next CocoaPods release will clean that up.
DataCache first appeared in Nuke 7.0 (May 2018). It was added as an experimental feature and was initially marked internal. To enable it you would use a special ImagePipeline.ConfigurationenableExperimentalAggressiveDiskCaching method.
DataCache was made public in Nuke 7.3 (June 2018) after it was proven to be stable.