mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
959 B
Swift
22 lines
959 B
Swift
import Foundation
|
|
|
|
public extension Notification.Name {
|
|
|
|
// State changes
|
|
static let contactOnlineStatusChanged = Notification.Name("contactOnlineStatusChanged")
|
|
static let threadDeleted = Notification.Name("threadDeleted")
|
|
static let threadSessionRestoreDevicesChanged = Notification.Name("threadSessionRestoreDevicesChanged")
|
|
// Interaction
|
|
static let dataNukeRequested = Notification.Name("dataNukeRequested")
|
|
}
|
|
|
|
@objc public extension NSNotification {
|
|
|
|
// State changes
|
|
@objc static let contactOnlineStatusChanged = Notification.Name.contactOnlineStatusChanged.rawValue as NSString
|
|
@objc static let threadDeleted = Notification.Name.threadDeleted.rawValue as NSString
|
|
@objc static let threadSessionRestoreDevicesChanged = Notification.Name.threadSessionRestoreDevicesChanged.rawValue as NSString
|
|
// Interaction
|
|
@objc static let dataNukeRequested = Notification.Name.dataNukeRequested.rawValue as NSString
|
|
}
|