Contents

forType(_:)

Returns the distributed notification center for a particular notification center type.

Declaration

class func forType(_ notificationCenterType: DistributedNotificationCenter.CenterType) -> DistributedNotificationCenter

Parameters

  • notificationCenterType:

    Notification center type being inquired about.

Return Value

Distributed notification center for notificationCenterType.

Discussion

Currently only one type, NSLocalNotificationCenterType, is supported.

See Also

Getting Distributed Notification Centers