Files
workoutsplus/WorkoutsPlus/Models/Protocols.swift

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 }
}