GBA001/DeltaFeatures/Types/SettingsName.swift
Riley Testut 9406cfe6cc [Features] Moves Settings.Name + Settings.NotificationUserInfoKey to DeltaFeatures
Also refactors from enums to RawRepresentable structs to support arbitrary values.
2023-04-13 15:43:43 -05:00

25 lines
460 B
Swift

//
// SettingsTypes.swift
// Delta
//
// Created by Riley Testut on 4/5/23.
// Copyright © 2023 Riley Testut. All rights reserved.
//
import Foundation
public struct SettingsName: RawRepresentable, Hashable, ExpressibleByStringLiteral
{
public let rawValue: String
public init(rawValue: String)
{
self.rawValue = rawValue
}
public init(stringLiteral rawValue: String)
{
self.rawValue = rawValue
}
}