---
title: "removeDependency(_:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/operation/removedependency(_:)"
---

# removeDependency(_:)

Removes the receiver’s dependence on the specified operation.

## Declaration

```swift
func removeDependency(_ op: Operation)
```

## Parameters

- `op`: The dependent operation to be removed from the receiver.

## Discussion

Discussion This method may change the isReady and dependencies properties of the receiver.

## See Also

### Managing Dependencies

- [addDependency(_:)](foundation/operation/adddependency(_:).md)
- [dependencies](foundation/operation/dependencies.md)
