<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PHASE",
  "identifier" : "/documentation/PHASE/PHASENumericPair",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "PHASE"
    ],
    "preciseIdentifier" : "c:objc(cs)PHASENumericPair"
  },
  "title" : "PHASENumericPair"
}
-->

# PHASENumericPair

An ordered pair that defines a bounding box for an envelope.

```
class PHASENumericPair
```

## Overview

A [`PHASEEnvelope`](/documentation/PHASE/PHASEEnvelope) object uses this class to bound the value of its [`range`](/documentation/PHASE/PHASEEnvelope/range) and [`domain`](/documentation/PHASE/PHASEEnvelope/domain).

## Topics

### Creating a Numeric Pair

[`-  initWithFirstValue:secondValue:`](/documentation/PHASE/PHASENumericPair/init(firstValue:secondValue:))

Creates a pair of numbers with the given values.

### Defining the Values

[`first`](/documentation/PHASE/PHASENumericPair/first)

The first value in the pair.

[`second`](/documentation/PHASE/PHASENumericPair/second)

The second value in the pair.

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)