Generates and returns the actual data-bearing object.
- iOS 10.0+
- Mac Catalyst 13.0+
When the actual data-bearing object is required, this method is called by the provider object’s infrastructure. Subclasses must override this method and use it to perform whatever work is required to create the object and return it. You implement this method instead of the normal
main() method you would implement for operation objects. This method is called on a secondary thread of your app.
The system provides no built-in progress indicator, so if generating the item may take a long time you should plan on providing feedback in your app yourself.