---
title: readCompletionNotification
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/filehandle/readcompletionnotification
---

# readCompletionNotification

Posted when the file handle reads the data currently available in a file or at a communications channel.

## Declaration

```swift
class let readCompletionNotification: NSNotification.Name
```

## Discussion

Discussion It makes the data available to observers by putting it in the userInfo dictionary. To cause the posting of this notification, you must send either readInBackgroundAndNotify() or readInBackgroundAndNotify(forModes:) to an appropriate NSFileHandle object. The notification object is the NSFileHandle object that sent the notification. The userInfo dictionary contains the following information:  |   |   |

## See Also

### Working with notifications

- [NSFileHandleConnectionAccepted](foundation/nsnotification/name-swift.struct/nsfilehandleconnectionaccepted.md)
- [NSFileHandleDataAvailable](foundation/nsnotification/name-swift.struct/nsfilehandledataavailable.md)
- [NSFileHandleReadToEndOfFileCompletion](foundation/nsnotification/name-swift.struct/nsfilehandlereadtoendoffilecompletion.md)
