An object that accesses and manages resource data indicated by a URL.
- macOS 10.0+
- Mac Catalyst 13.0+
NSURLHandle can service multiple equivalent
NSURL objects, but only if these URLs map to the same resource.
Cocoa provides private concrete subclasses to handle HTTP and file URL schemes. If you want to implement support for additional URL schemes, you would do so by creating a subclass of
NSURLHandle. You can use
NSURLHandle to download from FTP sites without subclassing.