Returns a description of the item associated with the persistent identifier.
- iOS 11.0+
The persistent identifier for a shared document.
A custom object that describes the specified document or directory.
Your File Provider extension must define a class that adopts the
NSFile interface. Instances of this class provides access to information about an item (a document or directory) that your File Provider manages and stores.
Your class should implement as many of the protocol's optional methods as makes sense for the specified item. This lets the system provide as much information as possible to the user as they browse your File Provider.
Optionally, you can define different classes for different types of items—for example, different classes for documents and directories. These classes can define different subsets of the
NSFile interface's optional methods. For example, the class representing a folder implements the
child property, while the class representing a document does not.
Override this method to look up the item associated with the persistent identifier and return an instance of your custom
NSFile class for that item.