Files
2024-10-28 12:00:56 +01:00

24 lines
380 B
Swift

//
// Protocols.swift
// WorkoutsPlus
//
// Created by Felix Förtsch on 04.09.24.
//
import Foundation
protocol Nameable: Identifiable, Hashable {
var id: UUID { get }
var name: String { get set }
}
protocol Positionable: Identifiable {
var id: UUID { get }
var position: Int { get set }
}
protocol Unit {
var name: String { get }
var symbol: String { get }
}