---
title: NSURLHandle
framework: foundation
role: symbol
role_heading: Class
path: foundation/nsurlhandle
---

# NSURLHandle

An object that accesses and manages resource data indicated by a URL.

## Declaration

```swift
class NSURLHandle
```

## Overview

Overview important: NSURLHandle is deprecated in macOS 10.4 and later. Use URLSession instead. A single NSURLHandle can service multiple equivalent NSURL objects, but only if these URLs map to the same resource. Overview 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 NSURL and NSURLHandle to download from FTP sites without subclassing.

## Topics

### Loading resource data

- [NSURLHandle.Status](foundation/nsurlhandle/status-swift.enum.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
