mirror of
https://github.com/somegeekintn/SimDirs.git
synced 2026-04-04 10:25:53 +00:00
24 lines
472 B
Swift
24 lines
472 B
Swift
//
|
|
// SimPlatform.swift
|
|
// SimDirs
|
|
//
|
|
// Created by Casey Fleser on 5/23/22.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
enum SimPlatform: String, Decodable {
|
|
case iOS
|
|
case tvOS
|
|
case watchOS
|
|
|
|
static let presentation : [SimPlatform] = [.iOS, .watchOS, .tvOS]
|
|
|
|
var symbolName : String {
|
|
switch self {
|
|
case .iOS: return "iphone"
|
|
case .tvOS: return "appletv"
|
|
case .watchOS: return "applewatch"
|
|
}
|
|
}
|
|
}
|