change folders to the "feature" mindset

This commit is contained in:
Felix Förtsch
2024-10-21 15:03:47 +02:00
parent 97ecbcc6f4
commit d1a87957f6
34 changed files with 121 additions and 139 deletions
@@ -0,0 +1,18 @@
//
// 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 }
}