Files
workoutsplus/WorkoutsPlus/Models/Protocols.swift
T

19 lines
287 B
Swift

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