Files
workoutsplus/WorkoutsPlus/Configuration/Protocols.swift
2024-10-21 15:03:47 +02:00

19 lines
305 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 }
}