extensionWillDiscardDataSource()
Provides an opportunity to use the data source before it’s released.
Declaration
optional func extensionWillDiscardDataSource()Discussion
After this call, the extension context no longer strongly references the data source. Fetch any last data you need here before the data source goes out of scope.