---
title: didConnect
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/notificationcenter/messageidentifier/didconnect-3d7x9
---

# didConnect

The identifier of the message that posts after a game controller accessory connects to the device.

## Declaration

```swift
static var didConnect: NotificationCenter.BaseMessageIdentifier<GCController.DidConnectMessage> { get }
```
