🚀 First version
This commit is contained in:
17
AlloVictor/AppState.swift
Normal file
17
AlloVictor/AppState.swift
Normal file
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// AppState.swift
|
||||
// AlloVictor
|
||||
//
|
||||
// Created by Bodinaud Victor on 13/04/2024.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
enum Route: Hashable {
|
||||
case offers
|
||||
case detail(Offer?)
|
||||
}
|
||||
|
||||
class AppState: ObservableObject {
|
||||
@Published var routes: [Route] = []
|
||||
}
|
||||
Reference in New Issue
Block a user