<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Network",
  "identifier" : "/documentation/Network/NWTXTRecord/Entry",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "s:7Network11NWTXTRecordV5EntryO"
  },
  "title" : "NWTXTRecord.Entry"
}
-->

# NWTXTRecord.Entry

A type of entry in a TXT record dictionary.

```
enum Entry
```

## Topics

### Entry Types

[`case none`](/documentation/Network/NWTXTRecord/Entry/none)

The key is not mapped to any value.

[`case empty`](/documentation/Network/NWTXTRecord/Entry/empty)

The key is mapped to an empty value.

[`case string(String)`](/documentation/Network/NWTXTRecord/Entry/string(_:))

The key is mapped to a string.

### Enumeration Cases

[`case data(Data)`](/documentation/Network/NWTXTRecord/Entry/data(_:))

### Initializers

[`init(Data?)`](/documentation/Network/NWTXTRecord/Entry/init(_:))

### Instance Properties

[`var data: Data?`](/documentation/Network/NWTXTRecord/Entry/data)

## Relationships

### Conforms To

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

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

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

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

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

---

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)