Swipe-That_pic/Swipe That Pic/Models/Item.swift

18 lines
285 B
Swift
Raw Normal View History

2024-07-26 13:16:48 +00:00
//
// Item.swift
// Swipe That Pic
//
// Created by Amine Bou on 26/07/2024.
//
import Foundation
import SwiftData
@Model
final class Item {
@Attribute(.unique) var localIdentfier: String
init(localIdentfier: String) {
self.localIdentfier = localIdentfier
}
}