---
title: NFCNDEFMessage
framework: corenfc
role: symbol
role_heading: Class
path: corenfc/nfcndefmessage
---

# NFCNDEFMessage

An NFC NDEF message consisting of an array of payload records.

## Declaration

```swift
class NFCNDEFMessage
```

## Topics

### Creating an NDEF Message

- [init(records:)](corenfc/nfcndefmessage/init(records:).md)
- [init(data:)](corenfc/nfcndefmessage/init(data:).md)

### Accessing NDEF Records

- [records](corenfc/nfcndefmessage/records.md)

### Getting the Message Length

- [length](corenfc/nfcndefmessage/length.md)

### Initializers

- [init(NDEFRecords:)](corenfc/nfcndefmessage/init(ndefrecords:).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)
- [NSCoding](foundation/nscoding.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### NDEF messages and payloads

- [NFCNDEFPayload](corenfc/nfcndefpayload.md)
