Strukturen als Namespace
IMO Der beste Weg, um mit dieser Art von Konstanten umzugehen, besteht darin, eine Struktur zu erstellen.
struct Constants {
    static let someNotification = "TEST"
}
Nennen Sie es dann zum Beispiel in Ihrem Code so:
print(Constants.someNotification)
Nisten
Wenn Sie eine bessere Organisation wünschen, empfehle ich Ihnen, segmentierte Unterstrukturen zu verwenden
struct K {
    struct NotificationKey {
        static let Welcome = "kWelcomeNotif"
    }
    struct Path {
        static let Documents = NSSearchPathForDirectoriesInDomains(.DocumentDirectory, .UserDomainMask, true)[0] as String
        static let Tmp = NSTemporaryDirectory()
    }
}
Dann können Sie zum Beispiel einfach verwenden K.Path.Tmp 
Beispiel aus der realen Welt
Dies ist nur eine technische Lösung. Die eigentliche Implementierung in meinem Code sieht eher so aus:
struct GraphicColors {
    static let grayDark = UIColor(0.2)
    static let grayUltraDark = UIColor(0.1)
    static let brown  = UIColor(rgb: 126, 99, 89)
    // etc.
}
und 
enum Env: String {
    case debug
    case testFlight
    case appStore
}
struct App {
    struct Folders {
        static let documents: NSString = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0] as NSString
        static let temporary: NSString = NSTemporaryDirectory() as NSString
    }
    static let version: String = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as! String
    static let build: String = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as! String
    // This is private because the use of 'appConfiguration' is preferred.
    private static let isTestFlight = Bundle.main.appStoreReceiptURL?.lastPathComponent == "sandboxReceipt"
    // This can be used to add debug statements.
    static var isDebug: Bool {
        #if DEBUG
        return true
        #else
        return false
        #endif
    }
    static var env: Env {
        if isDebug {
            return .debug
        } else if isTestFlight {
            return .testFlight
        } else {
            return .appStore
        }
    }
}