Files
iceglass/IceGlass/Models/NHLTeam.swift
T
rzen 8f8f8b2755 Initial commit: IceGlass NHL game tracker
macOS menu bar app providing NHL game situational awareness with
league-wide scoreboard, dynamic polling, notifications with team
logos, and configurable display options.
2026-04-13 21:44:08 -04:00

83 lines
2.3 KiB
Swift

//
// NHLTeam.swift
// IceGlass
//
// Copyright 2026 Rouslan Zenetl. All Rights Reserved.
//
import Foundation
enum NHLTeam: String, CaseIterable {
case ana = "ANA"
case bos = "BOS"
case buf = "BUF"
case car = "CAR"
case cbj = "CBJ"
case cgy = "CGY"
case chi = "CHI"
case col = "COL"
case dal = "DAL"
case det = "DET"
case edm = "EDM"
case fla = "FLA"
case lak = "LAK"
case min = "MIN"
case mtl = "MTL"
case njd = "NJD"
case nsh = "NSH"
case nyi = "NYI"
case nyr = "NYR"
case ott = "OTT"
case phi = "PHI"
case pit = "PIT"
case sea = "SEA"
case sjs = "SJS"
case stl = "STL"
case tbl = "TBL"
case tor = "TOR"
case uta = "UTA"
case van = "VAN"
case vgk = "VGK"
case wpg = "WPG"
case wsh = "WSH"
var abbreviation: String { rawValue }
var fullName: String {
switch self {
case .ana: return "Anaheim Ducks"
case .bos: return "Boston Bruins"
case .buf: return "Buffalo Sabres"
case .car: return "Carolina Hurricanes"
case .cbj: return "Columbus Blue Jackets"
case .cgy: return "Calgary Flames"
case .chi: return "Chicago Blackhawks"
case .col: return "Colorado Avalanche"
case .dal: return "Dallas Stars"
case .det: return "Detroit Red Wings"
case .edm: return "Edmonton Oilers"
case .fla: return "Florida Panthers"
case .lak: return "Los Angeles Kings"
case .min: return "Minnesota Wild"
case .mtl: return "Montreal Canadiens"
case .njd: return "New Jersey Devils"
case .nsh: return "Nashville Predators"
case .nyi: return "New York Islanders"
case .nyr: return "New York Rangers"
case .ott: return "Ottawa Senators"
case .phi: return "Philadelphia Flyers"
case .pit: return "Pittsburgh Penguins"
case .sea: return "Seattle Kraken"
case .sjs: return "San Jose Sharks"
case .stl: return "St. Louis Blues"
case .tbl: return "Tampa Bay Lightning"
case .tor: return "Toronto Maple Leafs"
case .uta: return "Utah Hockey Club"
case .van: return "Vancouver Canucks"
case .vgk: return "Vegas Golden Knights"
case .wpg: return "Winnipeg Jets"
case .wsh: return "Washington Capitals"
}
}
}