You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
548 B

//
// CalculatorApp.swift
// Calculator
//
// Created by etudiant on 23/05/2023.
//
import SwiftUI
@main
struct CalculatorApp: App {
let ueViewModel = UeVM()
var blocs = [
BlocVM(withModel: Bloc(name: "Total", ListUE: StubUE().loadUEs(), isUq: false)),
BlocVM(withModel: Bloc(name: "Projet/Stage", ListUE: StubUE().loadUeStage_Proj(), isUq: true))
]
var body: some Scene {
WindowGroup {
HomeView(manager : ManagerVM(withBeds: blocs))
}
}
}