mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
17 lines
484 B
Swift
17 lines
484 B
Swift
// RUN: %target-build-swift -emit-module %s
|
|
|
|
// REQUIRES: objc_interop
|
|
|
|
// https://github.com/apple/swift/issues/46794
|
|
|
|
import Foundation
|
|
|
|
/// Set of notifications that can be sent by this manager
|
|
extension Notification.Name {
|
|
/// Notifications that can be posted by the BLE code.
|
|
class BLE {
|
|
/// A notification posted when a new device has been discovered while scanning.
|
|
static var discoveredDevice = Notification.Name("my_unique_notification name")
|
|
}
|
|
}
|