---
title: NSUserNotification
framework: foundation
role: symbol
role_heading: Class
path: foundation/nsusernotification
---

# NSUserNotification

A notification that can be scheduled for display in the notification center.

## Declaration

```swift
class NSUserNotification
```

## Overview

Overview When the system delivers a notification, information about when the notification was actually presented to the user (if at all) and other details are provided in the notification object. User applications can create NSUserNotification objects and register them with the NSUserNotificationCenter object to notify the user when an application requires attention. Threading Information The NSUserNotificationCenter class and the NSUserNotification class are both thread safe.

## Topics

### Display Information

- [title](foundation/nsusernotification/title.md)
- [subtitle](foundation/nsusernotification/subtitle.md)
- [informativeText](foundation/nsusernotification/informativetext.md)
- [contentImage](foundation/nsusernotification/contentimage.md)
- [identifier](foundation/nsusernotification/identifier.md)
- [response](foundation/nsusernotification/response.md)
- [responsePlaceholder](foundation/nsusernotification/responseplaceholder.md)

### Displayed Notification Buttons

- [hasActionButton](foundation/nsusernotification/hasactionbutton.md)
- [actionButtonTitle](foundation/nsusernotification/actionbuttontitle.md)
- [otherButtonTitle](foundation/nsusernotification/otherbuttontitle.md)
- [hasReplyButton](foundation/nsusernotification/hasreplybutton.md)

### Delivery Timing

- [deliveryDate](foundation/nsusernotification/deliverydate.md)
- [actualDeliveryDate](foundation/nsusernotification/actualdeliverydate.md)
- [deliveryRepeatInterval](foundation/nsusernotification/deliveryrepeatinterval.md)
- [deliveryTimeZone](foundation/nsusernotification/deliverytimezone.md)

### Delivery Information

- [isPresented](foundation/nsusernotification/ispresented.md)
- [isRemote](foundation/nsusernotification/isremote.md)
- [soundName](foundation/nsusernotification/soundname.md)

### User Notification Activation Method

- [activationType](foundation/nsusernotification/activationtype-swift.property.md)
- [additionalActivationAction](foundation/nsusernotification/additionalactivationaction.md)
- [additionalActions](foundation/nsusernotification/additionalactions.md)

### User Notification User Information

- [userInfo](foundation/nsusernotification/userinfo.md)

### Constants

- [NSUserNotification.ActivationType](foundation/nsusernotification/activationtype-swift.enum.md)
- [NSUserNotificationDefaultSoundName](foundation/nsusernotificationdefaultsoundname.md)

### Initializers

- [init()](foundation/nsusernotification/init().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)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### User Notifications

- [NSUserNotificationAction](foundation/nsusernotificationaction.md)
- [NSUserNotificationCenter](foundation/nsusernotificationcenter.md)
- [NSUserNotificationCenterDelegate](foundation/nsusernotificationcenterdelegate.md)
