---
title: default()
framework: foundation
role: symbol
role_heading: Type Method
path: foundation/distributednotificationcenter/default()
---

# default()

Returns the default distributed notification center, representing the local notification center for the computer.

## Declaration

```swift
class func `default`() -> DistributedNotificationCenter
```

## Return Value

Return Value Default distributed notification center for the computer.

## Discussion

Discussion This method calls forType(_:) with an argument of NSLocalNotificationCenterType.

## See Also

### Related Documentation

- [Notification Programming Topics](apple-archive/documentation/Cocoa/Conceptual/Notifications/Introduction/introNotifications.html.md)

### Getting Distributed Notification Centers

- [forType(_:)](foundation/distributednotificationcenter/fortype(_:).md)
